v4169sgr
May 23rd, 2012, 10:44 PM
Apologies if this is a F.A.Q., but I didn't see a suitable answer - maybe I'm blind :P
In about a week and a half, I will:
* install 12.04 on a new desktop PC [on an SSD];
* take out two Samsung HD603Js [1 TB each] from the 10.04 PC and install them in the new PC;
* switch it on;
* and - hope it all works! :)
The two disks have two software raid0 partitions spread over them, one for root, and the other for home. I am not sure, but I think /boot and swap are not raided.
I'd like to use /dev/md0 [root] for reference, and /dev/md1 I do need for the user space files [that is /home].
Information as below, but is it really so simple as I've described? If not, what do I need to do?
Asking because I don't know much about raid ...
Thanks!
v4169sgr
cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
ARRAY /dev/md0 level=raid0 num-devices=2 UUID=fda88cf5:7dbf771e:84aa465c:f0e60ba7
ARRAY /dev/md1 level=raid0 num-devices=2 UUID=3e44c0c4:ce2cd4af:66d5c71f:8b1bacd3
# This file was auto-generated on Thu, 03 Jun 2010 10:46:12 +0100
# by mkconf $Id$
df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/md0 19G 11G 7.2G 59% /
none 1003M 364K 1002M 1% /dev
none 1007M 556K 1006M 1% /dev/shm
none 1007M 252K 1007M 1% /var/run
none 1007M 0 1007M 0% /var/lock
none 1007M 0 1007M 0% /lib/init/rw
/dev/sda1 1.9G 335M 1.5G 19% /boot
/dev/md1 1.8T 346G 1.4T 21% /home
sudo mdadm --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Thu Jun 3 10:37:07 2010
Raid Level : raid0
Array Size : 19529600 (18.62 GiB 20.00 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Thu Jun 3 10:37:07 2010
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Chunk Size : 64K
UUID : fda88cf5:7dbf771e:84aa465c:f0e60ba7
Events : 0.1
Number Major Minor RaidDevice State
0 8 5 0 active sync /dev/sda5
1 8 21 1 active sync /dev/sdb5
sudo mdadm --detail /dev/md1
/dev/md1:
Version : 00.90
Creation Time : Thu Jun 3 10:37:27 2010
Raid Level : raid0
Array Size : 1930084224 (1840.67 GiB 1976.41 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Thu Jun 3 10:37:27 2010
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Chunk Size : 64K
UUID : 3e44c0c4:ce2cd4af:66d5c71f:8b1bacd3
Events : 0.1
Number Major Minor RaidDevice State
0 8 6 0 active sync /dev/sda6
1 8 22 1 active sync /dev/sdb6
In about a week and a half, I will:
* install 12.04 on a new desktop PC [on an SSD];
* take out two Samsung HD603Js [1 TB each] from the 10.04 PC and install them in the new PC;
* switch it on;
* and - hope it all works! :)
The two disks have two software raid0 partitions spread over them, one for root, and the other for home. I am not sure, but I think /boot and swap are not raided.
I'd like to use /dev/md0 [root] for reference, and /dev/md1 I do need for the user space files [that is /home].
Information as below, but is it really so simple as I've described? If not, what do I need to do?
Asking because I don't know much about raid ...
Thanks!
v4169sgr
cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
ARRAY /dev/md0 level=raid0 num-devices=2 UUID=fda88cf5:7dbf771e:84aa465c:f0e60ba7
ARRAY /dev/md1 level=raid0 num-devices=2 UUID=3e44c0c4:ce2cd4af:66d5c71f:8b1bacd3
# This file was auto-generated on Thu, 03 Jun 2010 10:46:12 +0100
# by mkconf $Id$
df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/md0 19G 11G 7.2G 59% /
none 1003M 364K 1002M 1% /dev
none 1007M 556K 1006M 1% /dev/shm
none 1007M 252K 1007M 1% /var/run
none 1007M 0 1007M 0% /var/lock
none 1007M 0 1007M 0% /lib/init/rw
/dev/sda1 1.9G 335M 1.5G 19% /boot
/dev/md1 1.8T 346G 1.4T 21% /home
sudo mdadm --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Thu Jun 3 10:37:07 2010
Raid Level : raid0
Array Size : 19529600 (18.62 GiB 20.00 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Thu Jun 3 10:37:07 2010
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Chunk Size : 64K
UUID : fda88cf5:7dbf771e:84aa465c:f0e60ba7
Events : 0.1
Number Major Minor RaidDevice State
0 8 5 0 active sync /dev/sda5
1 8 21 1 active sync /dev/sdb5
sudo mdadm --detail /dev/md1
/dev/md1:
Version : 00.90
Creation Time : Thu Jun 3 10:37:27 2010
Raid Level : raid0
Array Size : 1930084224 (1840.67 GiB 1976.41 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Thu Jun 3 10:37:27 2010
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Chunk Size : 64K
UUID : 3e44c0c4:ce2cd4af:66d5c71f:8b1bacd3
Events : 0.1
Number Major Minor RaidDevice State
0 8 6 0 active sync /dev/sda6
1 8 22 1 active sync /dev/sdb6