[CentOS] Filesystem labeling confusion or mess up

Vishesh Kumar linuxtovishesh at gmail.com
Fri Nov 29 01:29:08 UTC 2013


What are partitions on your disk? We use label for a partition with certain filesystem. Also check /proc/partitions

Thanks
Vishesh kumar
Linuxmantra.com

Sent from my iPad

> On 28-Nov-2013, at 4:55 am, Cliff Pratt <enkiduonthenet at gmail.com> wrote:
> 
> *Something* is causing it to appear that there are two paths. I can't think
> how else the two apparently different disks have the *same* file system.
> But I've not used iSCSI much. Perhaps if you post the type of the device
> someone might have any idea?
> 
> Cheers,
> 
> Cliff
> 
> 
> On Wed, Nov 27, 2013 at 11:30 PM, Götz Reinicke - IT Koordinator <
> goetz.reinicke at filmakademie.de> wrote:
> 
>> Hi Cliff,
>> 
>> theer is just one path; I rechecked. The storage and server are attached
>> currently direct with one twinaxial cable and just one ip on each side.
>> 
>> Multipathing was never configured.
>> 
>> I'm confused.
>> 
>> Currently I reattached the targets and reformatted the devices.
>> 
>> in dmesg I just see one sdb and one sdc.
>> 
>> sda is the internal disk and no more disk devices show up e.g. with
>> fdisk -l.
>> 
>> Any more suggestions or thoughts?
>> 
>>        /Götz
>> 
>> Am 26.11.13 23:08, schrieb Cliff Pratt:
>>> Looks like you have more than one path to the devices. I would expect to
>>> see *4* devices.
>>> 
>>> Cheers,
>>> 
>>> Cliff
>>> 
>>> 
>>> On Wed, Nov 27, 2013 at 2:36 AM, Götz Reinicke - IT Koordinator <
>>> goetz.reinicke at filmakademie.de> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> I do have an iscsi storage with two raidsets. I'm logged in to the
>>>> target and get two devices: /dev/sdb and /dev/sdc.
>>>> 
>>>> After formatting the devices with ext4 I realised, that I had used a
>>>> wrong label, so I tried to relabel the devices.
>>>> 
>>>> But now I'm confused:
>>>> 
>>>> doing a e2label /dev/sdb or /dev/sdc returns always the same label name
>>>> for both devices.
>>>> 
>>>> so I did  "e2label /dev/sdb students" and "e2label /dev/sdc staff" and
>>>> now mounting the devices shows the same filesystem under sdb and sdc!
>>>> 
>>>> Looks like sdc (an empty device) is gone...
>>>> 
>>>> 
>>>> Any suggestions or explanations?
>>>> 
>>>>        Thanks and best regards . Götz
>> <...>
>> 
>> 
>> --
>> Götz Reinicke
>> IT-Koordinator
>> 
>> Tel. +49 7141 969 82 420
>> E-Mail goetz.reinicke at filmakademie.de
>> 
>> Filmakademie Baden-Württemberg GmbH
>> Akademiehof 10
>> 71638 Ludwigsburg
>> www.filmakademie.de
>> 
>> Eintragung Amtsgericht Stuttgart HRB 205016
>> 
>> Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
>> Staatssekretär im Ministerium für Wissenschaft,
>> Forschung und Kunst Baden-Württemberg
>> 
>> Geschäftsführer: Prof. Thomas Schadt
>> 
>> 
>> _______________________________________________
>> 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



More information about the CentOS mailing list