Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: bossies on December 12, 2010, 10:59:34 AM
-
i have a usb drive that i use for backup purpose - when i do a mount command before i start the backup i get a I/O error. its a seagate drive and some searching on the net i found they spin down after 15min in inactivity - i further found a patch for it to set the allow_restart parameter but i do not see the same directories in sme - the command below
echo 1 >/sys/class/scsi_disk/0:0:0:0/allow_restart
please help me with this command in sme to fix the problem with the backup drive
-
bossies
There was a similar issue reported in bugzilla in the last few months. The workaround was different to what you ask for, but it worked, so maybe that will apply to your situation.
-
i further found a patch for it to set the allow_restart parameter but i do not see the same directories in sme - the command below
echo 1 >/sys/class/scsi_disk/0:0:0:0/allow_restart
please help me with this command in sme to fix the problem with the backup drive
I think you should convert this to the proper disk listed under /dev/disk/ . Did you already have a look there? I have no USB drives to attach at hand to look up the exact commands.
-
mary - could you maybe send me the link to the workaround or how to search for it?
cactus - i am still not sure on what to look for - my dir has /by-path/
and then stuff like
pci-0000:00:1d.0-usb-0:1.3:1.0-scsi-0:0:0:0
pci-0000:00:1d.0-usb-0:1.3:1.0-scsi-0:0:0:0-part1
-
bossies
Clicks Bugs at top of forum, then type something in the search window
eg
USB
backup drive
spin USB drive up
etc
You could also just manually review the list of bugs starting from most recent and work your way backwards.
Edit: Since searched & found
http://bugs.contribs.org/show_bug.cgi?id=5519
particularly comments 25, 30 & 33
(searched on seagate USB)