PPv4: Question about unmounting hard drive

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

PPv4: Question about unmounting hard drive

Postby winestock » Wed Nov 14, 2012 3:09 pm

In arm linux when I unmount a hard drive I see that the hard drive is still spinning. Once I have unmounted the hard drive it is safe to simply unplug the hard drive even though it is spinning? Or should I spin down the hard drive first before unplugging it?
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

Re: PPv4: Question about unmounting hard drive

Postby sambul13 » Thu Nov 15, 2012 10:49 pm

I've a USB HD in enclosure connected to a Plug, and its multi-partitioned. Before switching the plug off, if the HD is spinning, I either wait till it stops due to power saving control of the HD own chipset, or issue the umount command:

$this->bbcode_second_pass_code('', 'for n in /dev/sdb* ; do umount $n ; done')

It still spins after that for some time, but unmounting makes it impossible to write data to it by regular FS means, then I switch the enclosure off right away. Never a problem.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: PPv4: Question about unmounting hard drive

Postby WarheadsSE » Thu Nov 15, 2012 11:47 pm

Or
$this->bbcode_second_pass_code('', '
umount /dev/sdb*
')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: PPv4: Question about unmounting hard drive

Postby Socaltom » Fri Nov 16, 2012 1:02 am

Modern yards drives are self parking, when not seeking data they park the grad in a safe spot. Once unmounted you can disconnect the drive.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 6 guests