* swxcr raid controller @ 2000-10-06 4:00 2000-10-09 4:00 ` R: " Slartibartfast 2000-10-09 4:00 ` ed 0 siblings, 2 replies; 5+ messages in thread From: @ 2000-10-06 4:00 UTC (permalink / raw) Hi, I have a server which has two raid 5 disks installed with a pci swxcr controller. I want to upgrade the system from Unix 4.0d to 4.0f - is it possible to make copies of the disks and upgrade the copies, then reverting to the originals if the upgrade goes wrong? Is there a problem removing the disks and swapping them for the cloned disks, as far as the raid metadata which is stored on the originals? TIA John ^ permalink raw reply [flat|nested] 5+ messages in thread
* R: swxcr raid controller 2000-10-06 4:00 swxcr raid controller @ 2000-10-09 4:00 ` Slartibartfast 2000-10-10 4:00 ` john 2000-10-09 4:00 ` ed 1 sibling, 1 reply; 5+ messages in thread From: Slartibartfast @ 2000-10-09 4:00 UTC (permalink / raw) > I want to upgrade the system from Unix 4.0d to 4.0f - is it possible to make > copies of the > disks and upgrade the copies, then reverting to the originals if the upgrade > goes wrong? I don't remember any method to clone a single disk of a raid set. Dumping or vdumping file systems disk-to-disk is possible (man restore for instructions). > Is there a problem removing the disks and swapping them for the cloned > disks, as far as > the raid metadata which is stored on the originals? With swxcr controllers the metadata is written on disks, so if you find a way to perfectly clone all disks "as they as", swapping the all raidset there will be no problems. (theorically) Mac ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: swxcr raid controller 2000-10-09 4:00 ` R: " Slartibartfast @ 2000-10-10 4:00 ` john 2000-10-11 4:00 ` Marble Head 0 siblings, 1 reply; 5+ messages in thread From: john @ 2000-10-10 4:00 UTC (permalink / raw) Hi, Thanks for the post. I heard that just removing the disks and putting in a pair of replacements can screw up the raid controller config, as it no longer sees the metadata that it expected on the disks. To upgrade to 4.0f I want to have a pair of fallback disks which I can put back into the Alphaserver of the installupdate procedure is unsuccessful. The question is, how can I do this cleanly, always having a fallback to which I can revert if the upgrade fails? I can copy the disks ok with vdump and vrestore, but does it matter that the metadata from the swxcr isn't copied aswell? Do you just re-initialised the copies with the RAID config utility if it comes to wanting to revert to the copied disks if the upgrade goes wrong? Thanks for any help. Slartibartfast <can't@see.it> wrote in article <8rsr89$94o$1@zamboni.dsnet.it>... > > > I want to upgrade the system from Unix 4.0d to 4.0f - is it possible to > make > > copies of the > > disks and upgrade the copies, then reverting to the originals if the > upgrade > > goes wrong? > > I don't remember any method to clone a single disk of a raid set. Dumping or > vdumping file systems > disk-to-disk is possible (man restore for instructions). > > > Is there a problem removing the disks and swapping them for the cloned > > disks, as far as > > the raid metadata which is stored on the originals? > > With swxcr controllers the metadata is written on disks, so if you find a > way to perfectly clone all disks > "as they as", swapping the all raidset there will be no problems. > (theorically) > > Mac > > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: swxcr raid controller 2000-10-10 4:00 ` john @ 2000-10-11 4:00 ` Marble Head 0 siblings, 0 replies; 5+ messages in thread From: Marble Head @ 2000-10-11 4:00 UTC (permalink / raw) With some raid controllers (hsg80, I don't know about swxcr) you can take a snapshot of disks. If you can do that, you'd want to halt UNIX, take the snapshot, and run the install. If it fails, you've got the snapshot. If you use vdump and vrestore (properly), you will backup all the files and attributes. There's no point to backing up disks, since the majority of data in a disk is unused garbage anyway; the important thing is to backup your files and attributes, so vdump and vrestore are good to use. If you lose the metadata, who cares? That is only used in the event that exactly one disk fails in the set, and you've got an available disk in your spareset. As soon as you start a new raid set, it will all be reconstructed again anyway. As an example of how to use vdump and vrestore, the following command will copy the /mnt/source filesystem to the /mnt/dest filesystem. vdump -0f - -D /mnt/source | vrestore -xf - -D /mnt/dest That's zero-f, not oh-f. alternatively, It might be more useful to dump into a backup file: vdump -0f /mnt/backup.bin -D /usr vrestore -xf /mnt/backup.bin -D /usr Remember that vdump will not traverse the virtual file system VFS; it will traverse the file system FS. So if you do "vdump -0f - -D /" vdump will not go into /usr, /var, /mnt, /floppy, or anything else that is mounted separately from root. You have to use vdump for each mountpoint. There are two more catches: One: It's a good idea to make the dump while UNIX isn't booted. I think. So, boot from your installation CD, and when prompted, cancel the installation in order to get a prompt. You will have to manually mount every FS that you want to backup, so be sure to write that down ahead of time. Two: Suppose something fails, and you need to restore. You need to boot SOMEthing that can run vdump and/or vrestore. So boot from your installation CD, and and when prompted ... etc etc. That's just my two cents. Remember: It's not about backing up disks. Backing up disks is useless. It's about backing up your data. john wrote: > Hi, > Thanks for the post. I heard that just removing the disks and putting > in a pair of replacements can screw up the raid controller config, as it > no longer sees the metadata that it expected on the disks. > > To upgrade to 4.0f I want to have a pair of fallback disks which I can put > back into > the Alphaserver of the installupdate procedure is unsuccessful. The > question is, > how can I do this cleanly, always having a fallback to which I can revert > if the > upgrade fails? > > I can copy the disks ok with vdump and vrestore, but does it matter that > the > metadata from the swxcr isn't copied aswell? Do you just re-initialised > the copies > with the RAID config utility if it comes to wanting to revert to the copied > disks if > the upgrade goes wrong? > > Thanks for any help. > > Slartibartfast <can't@see.it> wrote in article > <8rsr89$94o$1@zamboni.dsnet.it>... > > > > > I want to upgrade the system from Unix 4.0d to 4.0f - is it possible to > > make > > > copies of the > > > disks and upgrade the copies, then reverting to the originals if the > > upgrade > > > goes wrong? > > > > I don't remember any method to clone a single disk of a raid set. Dumping > or > > vdumping file systems > > disk-to-disk is possible (man restore for instructions). > > > > > Is there a problem removing the disks and swapping them for the cloned > > > disks, as far as > > > the raid metadata which is stored on the originals? > > > > With swxcr controllers the metadata is written on disks, so if you find a > > way to perfectly clone all disks > > "as they as", swapping the all raidset there will be no problems. > > (theorically) > > > > Mac > > > > > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: swxcr raid controller 2000-10-06 4:00 swxcr raid controller 2000-10-09 4:00 ` R: " Slartibartfast @ 2000-10-09 4:00 ` ed 1 sibling, 0 replies; 5+ messages in thread From: ed @ 2000-10-09 4:00 UTC (permalink / raw) Do you have any more details on the controller model? In article <zSmD5.5129$44.15803@news.iol.ie>, <@iol.ie> wrote: > Hi, > I have a server which has two raid 5 disks installed with a pci swxcr > controller. > I want to upgrade the system from Unix 4.0d to 4.0f - is it possible to make > copies of the > disks and upgrade the copies, then reverting to the originals if the upgrade > goes wrong? > > Is there a problem removing the disks and swapping them for the cloned > disks, as far as > the raid metadata which is stored on the originals? > > TIA > John > > Sent via Deja.com http://www.deja.com/ Before you buy. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-10-11 4:00 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2000-10-06 4:00 swxcr raid controller 2000-10-09 4:00 ` R: " Slartibartfast 2000-10-10 4:00 ` john 2000-10-11 4:00 ` Marble Head 2000-10-09 4:00 ` ed
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox