Götz Reinicke - IT Koordinator
2013-Nov-26 13:36 UTC
[CentOS] Filesystem labeling confusion or mess up
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
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 > >