Data Raid1 on LM 14 new install strange behavior

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Data Raid1 on LM 14 new install strange behavior

Postby Couch_Potato on Fri Sep 13, 2013 11:47 pm

Greetings,

I have recently installed LM 14 KDE on a 1TB Samsung drive leaving kubuntu 12.10 on a 250GB WD just until I can get some things ironed out. Specifically, I my raid1 array. I have been studying posts here for possible resolutions, but none quite fit. My raid is a mirror that I use to hold 'Stuff" and sometimes when I restart the machine for whatever reason, I will get the initramfs prompt. I exit that and it continues to load and when it comes up and I login, I open a terminal and find that my raid /dev/md127 has been mounted just as the partitions are configured on my system drive: viewed using


Code: Select all
$cat /etc/fstab
/dev/md127p1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/md127p6 on /boot type ext4 (rw)
/dev/md127p7 on /tmp type ext4 (rw)
/dev/md127p5 on /home type ext4 (rw)
vmware-vmblock on /run/vmblock-fuse type fuse.vmware-vmblock (rw,nosuid,nodev,default_permissions,allow_other)


Run of blkid when system in in wrong configuration:

Code: Select all
/dev/sdc1: UUID="ff811cd2-0005-4bb7-8e2f-6abf52a55eb5" TYPE="ext4"
/dev/sdc5: UUID="d6f9a9dd-88b1-4ebe-918b-460b0fd11cc3" TYPE="ext4"
/dev/sdc6: UUID="da7a8204-c454-4a74-9912-36d9d216f8a0" TYPE="ext4"
/dev/sdc7: UUID="83f57067-b424-458a-ac29-59c81f1af44e" TYPE="ext4"
/dev/sdc8: UUID="6cbd5ce1-d6c4-4984-809c-78818359cd1c" TYPE="swap"
/dev/md127p1: UUID="ff811cd2-0005-4bb7-8e2f-6abf52a55eb5" TYPE="ext4"
/dev/md127p5: UUID="d6f9a9dd-88b1-4ebe-918b-460b0fd11cc3" TYPE="ext4"
/dev/md127p6: UUID="da7a8204-c454-4a74-9912-36d9d216f8a0" TYPE="ext4"
/dev/md127p7: UUID="83f57067-b424-458a-ac29-59c81f1af44e" TYPE="ext4"
/dev/md127p8: UUID="6cbd5ce1-d6c4-4984-809c-78818359cd1c" TYPE="swap"
/dev/sdd1: UUID="b6702c8e-9aab-43f8-b819-642770e61926" TYPE="ext3"
/dev/sdd3: UUID="1ca06b90-fb2a-4aae-9c0f-6409bc7cdf91" TYPE="swap"
/dev/sdd4: UUID="3B3A82632A02834D" TYPE="ntfs"
/dev/sdd5: LABEL="Surplus" UUID="13cdd288-0513-44fc-a536-b219465e81ea" TYPE="ext4"
/dev/sdd6: LABEL="Home" UUID="14844e31-ecc9-4f44-ac42-88dee75d680c" TYPE="ext4"



Mdadm.conf:
Code: Select all
$sudo mdadm --detail --scan
ARRAY /dev/md127 metadata=0.90 UUID=4f51d3f1:d5435c42:7f8c214b:6ff7bdb8



This is how it should normally look or at least how I think it should:
Code: Select all
$cat /etc/fstab
/dev/sdd1: UUID="b6702c8e-9aab-43f8-b819-642770e61926" TYPE="ext3"
/dev/sdd4: UUID="3B3A82632A02834D" TYPE="ntfs"
/dev/sdd5: LABEL="Surplus" UUID="13cdd288-0513-44fc-a536-b219465e81ea" TYPE="ext4"
/dev/sdd6: LABEL="Home" UUID="14844e31-ecc9-4f44-ac42-88dee75d680c" TYPE="ext4"
/dev/sdc1: UUID="ff811cd2-0005-4bb7-8e2f-6abf52a55eb5" TYPE="ext4"
/dev/sdc5: UUID="d6f9a9dd-88b1-4ebe-918b-460b0fd11cc3" TYPE="ext4"
/dev/sdc6: UUID="da7a8204-c454-4a74-9912-36d9d216f8a0" TYPE="ext4"
/dev/sdc7: UUID="83f57067-b424-458a-ac29-59c81f1af44e" TYPE="ext4"
/dev/sdc8: UUID="6cbd5ce1-d6c4-4984-809c-78818359cd1c" TYPE="swap"
/dev/sdd3: UUID="1ca06b90-fb2a-4aae-9c0f-6409bc7cdf91" TYPE="swap"
/dev/md127: UUID="c9d2677f-bf51-49a8-9c5b-f1333dc33593" TYPE="reiserfs"


Note of course that blkid for /dev/md127 is different than what is in mdadm.conf file. I have read posts that instruct to put the uuid from mdadm.conf into fstab do:

Code: Select all
$initramfs -u


and all would be will. I did try this, restarted my machine and my raid was not found. I imagine I have done something wrong here. So I could really use some feedback. I'm new to LM but not new to Linux.

Here is how the partitions are currrenly mounted:

Code: Select all
$ mount
/dev/sdc1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
/dev/sdc7 on /tmp type ext4 (rw)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sdc6 on /boot type ext4 (rw)
/dev/sdc5 on /home type ext4 (rw)
/dev/md127 on /media/Raid1 type reiserfs (rw)
vmware-vmblock on /run/vmblock-fuse typ


So anybody have a link for me to check out or a suggestion or need more info, let me know. If you have gotten this far thanks for reading.

Regards
Linux user since 1997
Currently Mint 14 KDE
3.5.0-45-generic
Couch_Potato
Level 1
Level 1
 
Posts: 8
Joined: Mon May 13, 2013 11:21 pm

Linux Mint is funded by ads and donations.
 

Re: Data Raid1 on LM 14 new install strange behavior

Postby Couch_Potato on Tue Sep 24, 2013 9:37 pm

Can I get a bump?
Linux user since 1997
Currently Mint 14 KDE
3.5.0-45-generic
Couch_Potato
Level 1
Level 1
 
Posts: 8
Joined: Mon May 13, 2013 11:21 pm

Re: Data Raid1 on LM 14 new install strange behavior

Postby Couch_Potato on Tue Sep 24, 2013 9:56 pm

Okay Lets try some more data:

Code: Select all
$ sudo mdadm -D /dev/md127
[sudo] password for                                                                         
/dev/md127:                                                                                         
        Version : 0.90                                                                             
  Creation Time : Wed Sep 14 01:16:51 2011                                                         
     Raid Level : raid1                                                                             
     Array Size : 976762496 (931.51 GiB 1000.20 GB)
  Used Dev Size : 976762496 (931.51 GiB 1000.20 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 127
    Persistence : Superblock is persistent

    Update Time : Tue Sep 24 21:25:45 2013
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           UUID : 4f51d3f1:d5435c42:7f8c214b:6ff7bdb8
         Events : 0.33278

    Number   Major   Minor   RaidDevice State
       0       8        0        0      active sync   /dev/sda
       1       8       16        1      active sync   /dev/sdb


I can mount the file system of the device using the standard mount command:

Code: Select all
 
~ $ mount
/dev/sdc1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sdc7 on /tmp type ext4 (rw)
/dev/sdc6 on /boot type ext4 (rw)
/dev/sdc5 on /home type ext4 (rw)
vmware-vmblock on /run/vmblock-fuse type fuse.vmware-vmblock (rw,nosuid,nodev,default_permissions,allow_other)
~ $ sudo mount -t auto /dev/md127 /media/Raid1
[sudo] password for :
~ $ mount
/dev/sdc1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sdc7 on /tmp type ext4 (rw)
/dev/sdc6 on /boot type ext4 (rw)
/dev/sdc5 on /home type ext4 (rw)
vmware-vmblock on /run/vmblock-fuse type fuse.vmware-vmblock (rw,nosuid,nodev,default_permissions,allow_other)
/dev/md127 on /media/Raid1 type reiserfs (rw)
~ $
Linux user since 1997
Currently Mint 14 KDE
3.5.0-45-generic
Couch_Potato
Level 1
Level 1
 
Posts: 8
Joined: Mon May 13, 2013 11:21 pm


Return to Installation & Boot

Who is online

Users browsing this forum: claggan and 24 guests