3.2.1 migration error: [Errno 28] No space left on device

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

3.2.1 migration error: [Errno 28] No space left on device

DanM
Hi,

I posted this a while back but didnt hear anything so im trying again....When trying to migrate to 3.2.1 I copy the downloaded updated v3_1_1_to_3_2_1.py script to /opt/eduCommons-3.2.1/eggs/enpraxis.educommons-3.2.1_final-py2.4.egg/enpraxis/educommons/upgrades/v3_1_1_to_3_2_1.py (default path on the RPM) I get the following error when I run it:

2010-03-03T20:02:05 ERROR Zope.SiteErrorLog 1267664525.130.597154593556 http://ocw.ourdomain.edu:9191/eduCommons321/portal_setup/manage_doUpgrades
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.GenericSetup.tool, line 964, in manage_doUpgrades
  Module Products.GenericSetup.upgrade, line 112, in doStep
  Module enpraxis.educommons.upgrades.v3_1_1_to_3_2_1, line 52, in migrate
  Module enpraxis.educommons.upgrades.v3_1_1_to_3_2_1, line 115, in copyFolders
  Module enpraxis.educommons.upgrades.v3_1_1_to_3_2_1, line 338, in migrateDivision
  Module enpraxis.educommons.upgrades.v3_1_1_to_3_2_1, line 443, in migrateCourse
  Module OFS.CopySupport, line 220, in manage_pasteObjects
  Module Products.Archetypes.Referenceable, line 355, in _getCopy
  Module OFS.CopySupport, line 574, in _getCopy
  Module ZODB.ExportImport, line 51, in exportFile
IOError: [Errno 28] No space left on device

The Data.fs file we're trying to migrate is a little under 2G now, and there's currently 41G free. Im using the RPM with the default paths. The docs were a bit vague (to me anyway) where the migrated Data.fs should go so I put it in /opt/eduCommons-3.2.1/var/filestorage/Data.fs. Also, I wasnt sure where the downloaded v3_1_1_to_3_2_1.py script should go, hopefully thats the right place.

I have a feeling I can just comment something out but I know little python and less about Zope so...

If I dont hear back Ill try migrating from the source instead of the RPM, but since its not a library error or anything I didnt think there was a problem with the package itself.

Thanks!
Dan
Reply | Threaded
Open this post in threaded view
|

Re: 3.2.1 migration error: [Errno 28] No space left on device

blambert
Hello Dan,

Are you sure you have checked all of your filesystems to make sure you do not have any partitions that are full?

Usually this error is pretty accurate.

Reply | Threaded
Open this post in threaded view
|

Re: 3.2.1 migration error: [Errno 28] No space left on device

blambert
In reply to this post by DanM
DanM wrote
If I dont hear back Ill try migrating from the source instead of the RPM, but since its not a library error or anything I didnt think there was a problem with the package itself.
I would not expect there to be any difference between the source version and RPM since they both install the same code. Would be better to investigate further what is causing your error and fix it.

Some additional things you may want to try:

Watch your partitions as you run the migration. Look for any that are filling up. e. g.

    watch df -h

Check your /tmp directory. Is it filling up? Is there something that is getting written there?

Do you have enough room in the partition that is holding your Zope instance?

How is your system disk partioned?
Reply | Threaded
Open this post in threaded view
|

Re: 3.2.1 migration error: [Errno 28] No space left on device

DanM
In reply to this post by blambert
Its the first thing I checked, but ill watch the partitions while the upgrade is happening to see whats going on. Its really really slow so I usually start it before I leave or something. But I can write a cronjob to dump the partition stats every 30 secs or something. This is what I have. Hopefully the formatting doesnt get too messed up in the email....

Filesystem                                        Size  Used Avail Use%     Mounted on
/dev/mapper/vg01-rootlv                 4.9G  1.3G  3.4G  28%     /
/dev/md0                                          140M   22M  111M  17% /boot
tmpfs                                                 1.8G     0  1.8G   0% /dev/shm
/dev/mapper/vg01-homelv                7.0G  2.4G  4.4G  35% /home
/dev/mapper/vg01-usrlv                    9.7G  1.5G  7.7G  17% /usr
/dev/mapper/vg01-varlv                    4.9G  1.3G  3.4G  28% /var
/dev/mapper/vg02-vg02--web         134G   96G   38G  72% /opt

We have all the ocw stuff in /opt. The Data.fs file is 1.9G.

Ill keep poking away at it and let you know what I find...

Dan

blambert [via eduCommons] wrote:
Hello Dan,

Are you sure you have checked all of your filesystems to make sure you do not have any partitions that are full?

Usually this error is pretty accurate.




View message @ http://n2.nabble.com/3-2-1-migration-error-Errno-28-No-space-left-on-device-tp4675233p4675805.html
To unsubscribe from 3.2.1 migration error: [Errno 28] No space left on device, click here.