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

2014-05-16 Thread David Both
"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: >

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

2014-05-16 Thread Mauricio Tavares
On Fri, May 16, 2014 at 2:03 PM, Raghuv Adhepalli 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. > R

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

2014-05-16 Thread Raghuv Adhepalli
@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. Raghuv. On Fri, May 16, 2014 at 11:59 AM, wrote: > Raghuv Adhepalli wrote: > > > @mark: This is my dmesg output, > > > > XFS (sdf): xfs_

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

2014-05-16 Thread m . roth
Raghuv Adhepalli wrote: > @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(0x443322110500) > XFS (s

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

2014-05-16 Thread Raghuv Adhepalli
@Mauricio: Yes the drive's sd name keeps changing with removal and addition. Thought labels can be used as alternative to maintain consistency. As you can see in my dmesg output, sdf changed to sdj @zep: No I do not use partitions. I use the entire drive. @mark: This is my dmesg output, XFS (sdf

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

2014-05-16 Thread zep
On 05/16/2014 01:29 PM, Raghuv Adhepalli wrote: > Hello everybody, > > I would like your opinion on the following question, why this happens in > centos and how to fix this (or a possible work around). > > I have a drive with no partitions and formatted with xfs filesystem. I give > the drive a cu

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

2014-05-16 Thread Mauricio Tavares
On Fri, May 16, 2014 at 1:34 PM, wrote: > Raghuv Adhepalli wrote: >> Hello everybody, >> >> I would like your opinion on the following question, why this happens in >> centos and how to fix this (or a possible work around). >> >> I have a drive with no partitions and formatted with xfs filesystem

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

2014-05-16 Thread m . roth
Raghuv Adhepalli wrote: > Hello everybody, > > I would like your opinion on the following question, why this happens in > centos and how to fix this (or a possible work around). > > I have a drive with no partitions and formatted with xfs filesystem. I > give the drive a custom label "mydrive" and

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

2014-05-16 Thread Raghuv Adhepalli
Hello everybody, I would like your opinion on the following question, why this happens in centos and how to fix this (or a possible work around). I have a drive with no partitions and formatted with xfs filesystem. I give the drive a custom label "mydrive" and I mount it under /dev/mountpnts/mydr