[WBEL-users] Errors mounting raid device

Tim Moore whitebox@nsr500.net
Mon, 05 Apr 2004 11:24:45 -0700


Did the same thing first time with software raid.

FIrst step: mkraid.
Second step: mke2fs -j /dev/md3
THird step: fsck -yf /dev/md3
Forth step: mount /dev/md3 /samba

rgds,
tim.

simone72 wrote:
> Hi, once again, unfortunately, in troubles. I hope you will excuse my little experience with linux and my 
> english, but I really need your help.  
> I'm having real troubles with my samba/wbel server, mainly a really weird behaviour. You can read if 
> interested, my previous post (dup2 bad file descriptor). Today this new "surprise". What happens is that  
> if I try to mount my /dev/md3, I succeed just once over three times. Here you can read: 
>  
> [root@fbcsrvsmb01 root]# cat /proc/mdstat 
> Personalities : [raid1] 
> read_ahead 1024 sectors 
> Event: 4 
> md3 : active raid1 hde1[1] hdg1[0] 
>       199141632 blocks [2/2] [UU] 
>  
> md2 : active raid1 hda3[0] hdc3[1] 
>       1108416 blocks [2/2] [UU] 
>  
> md1 : active raid1 hda2[0] hdc2[1] 
>       8803520 blocks [2/2] [UU] 
>  
> md0 : active raid1 hda1[0] hdc1[1] 
>       104320 blocks [2/2] [UU] 
>  
> unused devices: <none> 
> [root@fbcsrvsmb01 root]# umount /samba/ 
> [root@fbcsrvsmb01 root]# mount -t ext3 /dev/md3 /samba                      FAILS 
> mount: wrong fs type, bad option, bad superblock on /dev/md3, 
>        or too many mounted file systems 
> [root@fbcsrvsmb01 root]# mount -t ext3 /dev/md3 /samba                      FAILS 
> mount: wrong fs type, bad option, bad superblock on /dev/md3, 
>        or too many mounted file systems 
> [root@fbcsrvsmb01 root]# mount -t ext3 /dev/md3 /samba                      SUCCESS 
> [root@fbcsrvsmb01 root]# mount -t ext3 /dev/md3 /samba 
> mount: /dev/md3 already mounted or /samba busy 
> mount: according to mtab, /dev/md3 is already mounted on /samba 
> [root@fbcsrvsmb01 root]# umount /samba 
> [root@fbcsrvsmb01 root]# mount -t ext3 /dev/md3 /samba                      FAILS 
> mount: wrong fs type, bad option, bad superblock on /dev/md3, 
>        or too many mounted file systems 
> [root@fbcsrvsmb01 root]# mount -t ext3 /dev/md3 /samba                      FAILS 
> mount: wrong fs type, bad option, bad superblock on /dev/md3, 
>        or too many mounted file systems 
> [root@fbcsrvsmb01 root]# mount -t ext3 /dev/md3 /samba                      SUCCESS 
>  
>  
> What's the meaning of it? I made one partition, type fd, then 'mk2efs -j' each of the two drives (hdg and 
> hde). Then mkraid /dev/md3 it took me a lifetime to make it (200Gb - 300minutes), and what I get is that 
> weird thing.....I'm really confused. Should I mke2fs -j /dev/md3 before mounting? It doesn't sound 
> reasonable.  
>  
> I'm trying to move part of the servers from win2k to linux, but now this last 2 days really twisted my 
> brain.... 
>  
> If anyone could help me undestand the reasons of what happened I would greately appreciate it. 
>  
> Thanks for your time 
> Simone 
>  
> PS would you use reiserfs? 
> 
> 
> 
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
> 
> Sponsor:
> Sconti fino al 50% su eBay
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1649&d=5-4
> _______________________________________________
> Whitebox-users mailing list
> Whitebox-users@beau.org
> http://beau.org/mailman/listinfo/whitebox-users
>