Temporarily Disable Array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	In a few days, I am going to be upgrading Linux on one of my servers
from Debian "Lenny" to "Squeeze".  I've gone through this upgrade a handful
of times, and it can be pretty tricky.  It would be best if the data array
were not assembled over and over again during the process.  I know it really
shouldn't make a difference, but in the real world stability issues have
raised their ugly heads more than once causing additional time and heartache
associated with the array to be required to complete the task.  With this in
mind, I would like to temporarily disable the assembly of the array until
the upgrade is complete and the system stable.  Do I have the following
checklist correct, or is there something wrong or missing?  Are there better
alternatives?  I'm not missing something about the "homehost" utility, am I?

1.  Edit /etc/mdadm/mdadm.conf and comment out the line specifying the
array.  Also comment out the line "HOMEHOST <system>"

2.  Edit /etc/fstab and comment out the line specifying the mount point for
the array.

3.  Issue the command `update-initramfs -u`

4.  Reboot the system, making sure the array does not assemble.

5.  Perform the OS upgrade.

6.  Edit mdadm.conf and fstab, removing the comment markers placed in steps
1 and 2.

7.  Issue the command `update-initramfs -u`

8.  Reboot the system, making sure the array assembles and mounts.



--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux