Re: removing AHCI SATA devices

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

 



i fail disk with mdadm, remove the from computer, insert again add
disk to md array, and continue using

2011/2/23 John Robinson <john.robinson@xxxxxxxxxxxxxxxx>:
> On 23/02/2011 08:27, Simon McNair wrote:
>>
>> thanks Jeff. It just seems like a hit and miss solution (no way of
>> knowing all data has been written to and that the device has been
>> unmounted from all filesystems). I kinda expected some kind of 'it is
>> safe to remove /dev/sdb' in dmesg.
>
> I think `eject /dev/sdb` will do what you want - if it's safe to pull, it'll
> exit immediately and silently, but if it or any of its partitions are still
> associated with any filesystem or md device, and the drive can't safely be
> ejected/unplugged, it'll complain.
>
> Cheers,
>
> John.
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux