Commifreak
September 16th, 2012, 07:21 PM
Hi :)
I am using Zentyal v3 which uses Ubuntu 12.04.1.
I've already posted on the Zentyal forums [1], but I think its a Ubuntu issue, so I try to get a hint on these site :)
I have an existing lvm and raid configuration from the previous Zentyal version (Ubuntu 10.04).
After starting the 12.04 installer (no upgrade) - the partitioner has detected the raid and my lvm config (with curious names, like md125, md126 and md 127).
The installation was successfully, I've formatted all partitions except the /home partition.
Deatiled config:
4 x 2TB drives
2 x Raid 1 (/boot and swap)
1 x Raid 5 (LVM)
the LVM provides 2 partitions: / and /home
After the installation, Ubuntu hangs on every boot at "The disk drive for x is not yet ready or not present".
I've figured out, that the installer misconfigured the fstab: It had set the swap-partition device as "/dev/md125" which does not exist. The right name was /dev/md1.
After I changed this and upgraded 5 packets (linux kernel, linux-firmware and a few libs) the message gone away, but the boot still freezes at this point:
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
/dev/mapper/VG1-System: clean, 88435/3055616 files, 558454/12206080 blocks
/dev/md0: clean, 230/488640 files, 108855/975860 blocks
/dev/mapper/VG1-Data: clean, 27599/181342208 files, 645157851/1450730496 blocks
After 2-3 minutes, the boot continues without any error. All drives are mounted.
Where to begin to search? Has someone a hint?
Should I clean all drives and create both, the raid and the lvm with 12.04 again?
Thanks for any hint!
mdadm.conf:
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers
# 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/md/0 metadata=1.2 UUID=fa658e2d:9cf50829:dc877c7d:68e5af77 name=server:0
ARRAY /dev/md/1 metadata=1.2 UUID=127f876f:d06c6640:10e117cb:9eefbbf5 name=server:1
ARRAY /dev/md/2 metadata=1.2 UUID=2e48847e:e825e289:b0463acd:d643e598 name=server:2
# This file was auto-generated on Fri, 14 Sep 2012 21:00:00 +0200
# by mkconf $Id$
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 nodev,noexec,nosuid 0 0
/dev/mapper/VG1-System / ext4 errors=remount-ro 0 1
# /boot was on /dev/md127 during installation
UUID=6bd29ed7-06ec-422c-a39e-dac8a3b97d9e /boot ext2 defaults 0 2
/dev/mapper/VG1-Data /home ext4 defaults 0 2
# MODIFIED BY ME (original: /dev/md125)
/dev/md1 none swap sw 0 0
[1] - http://forum.zentyal.org/index.php/topic,12030.0.html
I am using Zentyal v3 which uses Ubuntu 12.04.1.
I've already posted on the Zentyal forums [1], but I think its a Ubuntu issue, so I try to get a hint on these site :)
I have an existing lvm and raid configuration from the previous Zentyal version (Ubuntu 10.04).
After starting the 12.04 installer (no upgrade) - the partitioner has detected the raid and my lvm config (with curious names, like md125, md126 and md 127).
The installation was successfully, I've formatted all partitions except the /home partition.
Deatiled config:
4 x 2TB drives
2 x Raid 1 (/boot and swap)
1 x Raid 5 (LVM)
the LVM provides 2 partitions: / and /home
After the installation, Ubuntu hangs on every boot at "The disk drive for x is not yet ready or not present".
I've figured out, that the installer misconfigured the fstab: It had set the swap-partition device as "/dev/md125" which does not exist. The right name was /dev/md1.
After I changed this and upgraded 5 packets (linux kernel, linux-firmware and a few libs) the message gone away, but the boot still freezes at this point:
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
/dev/mapper/VG1-System: clean, 88435/3055616 files, 558454/12206080 blocks
/dev/md0: clean, 230/488640 files, 108855/975860 blocks
/dev/mapper/VG1-Data: clean, 27599/181342208 files, 645157851/1450730496 blocks
After 2-3 minutes, the boot continues without any error. All drives are mounted.
Where to begin to search? Has someone a hint?
Should I clean all drives and create both, the raid and the lvm with 12.04 again?
Thanks for any hint!
mdadm.conf:
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers
# 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/md/0 metadata=1.2 UUID=fa658e2d:9cf50829:dc877c7d:68e5af77 name=server:0
ARRAY /dev/md/1 metadata=1.2 UUID=127f876f:d06c6640:10e117cb:9eefbbf5 name=server:1
ARRAY /dev/md/2 metadata=1.2 UUID=2e48847e:e825e289:b0463acd:d643e598 name=server:2
# This file was auto-generated on Fri, 14 Sep 2012 21:00:00 +0200
# by mkconf $Id$
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 nodev,noexec,nosuid 0 0
/dev/mapper/VG1-System / ext4 errors=remount-ro 0 1
# /boot was on /dev/md127 during installation
UUID=6bd29ed7-06ec-422c-a39e-dac8a3b97d9e /boot ext2 defaults 0 2
/dev/mapper/VG1-Data /home ext4 defaults 0 2
# MODIFIED BY ME (original: /dev/md125)
/dev/md1 none swap sw 0 0
[1] - http://forum.zentyal.org/index.php/topic,12030.0.html