Re: How to properly eject / remove hotswappable sata drive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/10/2011 12:24 PM, valent.turkovic@xxxxxxxxx wrote:
>> You will have to build it from source. What appears to be the primary
>> site is down, but you can find it here:
>> http://fossies.org/linux/misc/scsiadd-1.97.tar.gz/
> 
> Is scsiadd really necessary ?
> 
> I tried using umount then eject but I get this error:
>      eject: device "/dev/sdb" doesn't have a removable or hotpluggable flag
> 
> Aren't all sata drives removable and hotpluggable?

For non raid drives all I ever have to do is umount the drives partitons.  Once that is successful the drive can be removed.  However, if you have smartctl running, it will start to complain until you put the drive back in.  Or you could restart smartctl with the drive removed.

With raid drives I user mdadm to first fail the partitions on the drive to be remove/replaced, if they haven't failed already.  (Use cat /proc/mdstat to see current status of all raid drives.)

Then use mdadm to remove those partitions from the raid drive.  Then the drive can be removed/replaced.

Emmett
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux