RAID1 mounting

Forum rules
Before you post please read this

RAID1 mounting

Postby haberst on Fri Jan 18, 2013 4:11 am

Hello,

I have RAID1 setup altough. 2x500GB HDD's with 3 partitions. And 1x500GB as separate USB HDD for backup (not mounted yet).
/boot, swap and /root.

I already have rebuilt it 1 time (It was my mistake after Linux setup, not hw failure), and with that time the swap partition is broken or not working properly(since its RAID0).

I am using Linux software raid and partitions are following. Boot was partitioned as RAID1 so was root, but for swap I used RAID0! That maybe the culprit- dunno..


root@serv:/etc# cat /proc/mdstat
Personalities : [raid0] [raid1]
md2 : active raid1 sda3[0] sdb3[2]
480473976 blocks super 1.2 [2/2] [UU]

md1 : inactive sda2[0] sdb2[2](S)
15622144 blocks super 1.2

md0 : active raid1 sda1[0] sdb1[2]
96244 blocks super 1.2 [2/2] [UU]


Fstab shows that root partition has rw errors?!

root@r22serv:/etc# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/md2 during installation
UUID=dd98aabc-5b21-4adc-9dea-daf59e5b4e0b / ext3 errors=remount-ro 0 1
# /boot was on /dev/md0 during installation
UUID=83256d09-8800-4e73-bfd5-13154de308f6 /boot ext3 defaults 0 2
# swap was on /dev/md1 during installation
UUID=a079b990-7cda-4248-869c-0a0c5bb7ff61 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0

Mount command shows this:

root@r22serv:/etc# mount
/dev/md2 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/md0 on /boot type ext3 (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)


BLKID shows this:

root@r22serv:/etc# blkid -c /dev/null
/dev/sda1: UUID="5da577d4-9be4-5276-a179-0973dd0b1a4f" LABEL="r22serv:0" TYPE="linux_raid_member"
/dev/sda2: UUID="c64cef5e-6570-33ea-e7b8-732aeefdecfa" LABEL="r22serv:1" TYPE="linux_raid_member"
/dev/sda3: UUID="3bce03da-b85d-6145-5809-cf311bb7c7a0" LABEL="r22serv:2" TYPE="linux_raid_member"
/dev/sdb1: UUID="5da577d4-9be4-5276-a179-0973dd0b1a4f" LABEL="r22serv:0" TYPE="linux_raid_member"
/dev/sdb2: UUID="c64cef5e-6570-33ea-e7b8-732aeefdecfa" LABEL="r22serv:1" TYPE="linux_raid_member"
/dev/sdb3: UUID="3bce03da-b85d-6145-5809-cf311bb7c7a0" LABEL="r22serv:2" TYPE="linux_raid_member"
/dev/md0: UUID="83256d09-8800-4e73-bfd5-13154de308f6" TYPE="ext3"
/dev/md2: UUID="dd98aabc-5b21-4adc-9dea-daf59e5b4e0b" TYPE="ext3"


It shows that here the problem is not mounting wrong filesystem type, but something else?
I am quite a novice with Linux partitioning.

Big Thanks in advance!


Similar problem to this, but he didn't have RAID1...
viewtopic.php?f=50&t=98494&p=675023#p675071
haberst
Level 1
Level 1
 
Posts: 2
Joined: Thu Jan 17, 2013 4:10 am

Linux Mint is funded by ads and donations.
 

Return to Mounting Partitions

Who is online

Users browsing this forum: No registered users and 1 guest