From a6c8505eaddb2e736c3881bdd8fa0b94e0314c15 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Tue, 11 Oct 2011 21:24:34 +0200 Subject: Notes on benjamin's upgrade added That is on how to mount the rain 1 disks. --- admin-log.org | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/admin-log.org b/admin-log.org index 43a0eb5..9357b46 100644 --- a/admin-log.org +++ b/admin-log.org @@ -7,6 +7,26 @@ The server benjamin was upgraded to Debian GNU/Linux 6.0 Squeeze in accordance with the [[http://www.debian.org/releases/squeeze/i386/release-notes/ch-upgrading.en.html][upgrading release notes]]. +At some point the raid array did not mount so the installation was interupted. Mdadm was used to setup the software raid: + + : $ cat /proc/partitions + : $ cat /etc/mdadm/mdadm.conf + : # mdadm --misc --query /dev/sdc1 /dev/sdd1; # for display + : # mdadm --misc --examine /dev/sdc1 /dev/sdd1; # for display + : # mdadm --misc --examine --scan + : # mdadm --assemble --scan + +Then also the logical volume management (LVM) was needed to set up. + + : # vgdisplay + : $ ls -1 /dev | grep 2T; # shows nothing + : # vgchange --available y 2T_vg-backup + : $ ls -1 /dev | grep 2T; # shows VG 2T_vg-backup + : # cryptsetup luksOpen 2T_vg-backup/backup backup + : # sudo mount -t ext4 /dev/mapper/backup /mnt/backup + +The =/etc/fstab= is no longer correct since "ext4dev" is not a supported file system. Instead "ext4" should be used. + ** Things to do after upgrade - Remove the following packages -- cgit v1.2.3