[CentOS] Re-mount a drive using its label name

David Both dboth at millennium-technology.com
Fri May 16 18:34:07 UTC 2014


"Hard" removal? What the heck is that!? ***ALWAYS*** umount a drive before 
removing it. Clearly you are experiencing the side effect of and are a good 
example for the bad things that can happen when one does not umount a drive 
before removing.



On 05/16/2014 02:30 PM, Mauricio Tavares wrote:
> On Fri, May 16, 2014 at 2:03 PM, Raghuv Adhepalli
> <raghuv.adhepalli at seagate.com> wrote:
>> @mark: I didn't umount the drive before removing. Was performing hard
>> removal.
>> I will try clearing the concerned UUID and see if that mounts the drive
>> back.
>>
>        As an alternative, I think you can change the UUID of a device.
>
>> Raghuv.
>>
>>
>> On Fri, May 16, 2014 at 11:59 AM, <m.roth at 5-cent.us> wrote:
>>
>>> Raghuv Adhepalli wrote:
>>> <snip>
>>>> @mark: This is my dmesg output,
>>>>
>>>> XFS (sdf): xfs_log_force: error 5 returned.
>>>> sd 0:0:9:0: [sdj] Synchronizing SCSI cache
>>>> sd 0:0:9:0: [sdj] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
>>>> mpt2sas0: removing handle(0x000e), sas_addr(0x4433221105000000)
>>>> XFS (sdf): xfs_log_force: error 5 returned.
>>> <snip
>>>>   sdj: unknown partition table
>>>> sd 0:0:10:0: [sdj] Attached SCSI disk
>>>> XFS (sdj): Filesystem has duplicate UUID
>>> <snip>
>>> This concerns me. As I asked, you *did* umount the drive before removing
>>> it? I would expect that to remove the UUID from /dev/disk/by-uuid; for
>>> some reason, it's clearly still there, and I think that's what's confusing
>>> the system.
>>>
>>>          mark
>>>
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS at centos.org
>>>
>>> https://urldefense.proofpoint.com/v1/url?u=http://lists.centos.org/mailman/listinfo/centos&k=2a4Akkj3oY%2FOkjwft1MTMw%3D%3D%0A&r=tMZHZRUDG2%2BTRwBxuWe2n5rPULoPCwzzTu%2BUi79RuVM%3D%0A&m=tXDizAMl3RlLtrBcA8DEk%2B6XsJ032GhcgvkpKDNtP1c%3D%0A&s=6ba4bf4e62a08e2c22efa41963aa238bddc0b41b6d00322d8deae79962c86e83
>>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
> -- 
>
>
> *********************************************************
> David P. Both, RHCE
> Millennium Technology Consulting LLC
> 919-389-8678
>
> dboth at millennium-technology.com
>
> www.millennium-technology.com
> www.databook.bz - Home of the DataBook for Linux
> DataBook is a Registered Trademark of David Both
> *********************************************************
> This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately.
>



More information about the CentOS mailing list