Buld
25-09-2006, 09:29
From time to time (once a week) data was unreadable from USB disk with I/O errors. Rebooting didn't help but if
I turned the WL500gx off (power cycled) then it was working again and filesystem was OK as if nothing has been written on it after the trouble started.
I was thinking my USB disk is at the end of its lifetime but I gave it another chance so I reformatted it without a swap partition and started using a second USB stick for swap.
After a few days the same problem appeared. I turned off swap (deleted "swapon ..." from post-boot) and since then it works like a charm.
Anyone seen this? Could using a swap partition cause USB instability?
I created my swap partition as explained on macsat site (marked partition as Linux Swap) but when I do 'df' this partition is mounted (/dev/discs/disc1/part1)
$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3008 3008 0 100% /
/dev/discs/disc0/part1 121859 50043 65524 43% /opt
/dev/discs/disc1/part1 31712 28789 2923 91% /tmp/harddisk
Allthough I did this in post-boot:
#!/bin/sh
# wait for /opt to mount
umount /tmp/harddisk
umount /tmp/harddisk/part1
#
mount /dev/discs/disc0/part1 /opt
...
Why did this partition remount and could it be the cause of trouble?
Thanks in advance guys!
:cool:
I turned the WL500gx off (power cycled) then it was working again and filesystem was OK as if nothing has been written on it after the trouble started.
I was thinking my USB disk is at the end of its lifetime but I gave it another chance so I reformatted it without a swap partition and started using a second USB stick for swap.
After a few days the same problem appeared. I turned off swap (deleted "swapon ..." from post-boot) and since then it works like a charm.
Anyone seen this? Could using a swap partition cause USB instability?
I created my swap partition as explained on macsat site (marked partition as Linux Swap) but when I do 'df' this partition is mounted (/dev/discs/disc1/part1)
$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3008 3008 0 100% /
/dev/discs/disc0/part1 121859 50043 65524 43% /opt
/dev/discs/disc1/part1 31712 28789 2923 91% /tmp/harddisk
Allthough I did this in post-boot:
#!/bin/sh
# wait for /opt to mount
umount /tmp/harddisk
umount /tmp/harddisk/part1
#
mount /dev/discs/disc0/part1 /opt
...
Why did this partition remount and could it be the cause of trouble?
Thanks in advance guys!
:cool: