0% found this document useful (0 votes)
68 views2 pages

VXVM

To define a root disk mirror as bootable on a SPARC system, three steps must be followed: 1. Set the use-nvramrc? variable to true to allow booting from alternate disks. 2. Define an alternate boot disk using the nvramrc variable and devalias command. 3. Boot the system from the alternate disk using the devalias boot command.

Uploaded by

kukukukokila
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views2 pages

VXVM

To define a root disk mirror as bootable on a SPARC system, three steps must be followed: 1. Set the use-nvramrc? variable to true to allow booting from alternate disks. 2. Define an alternate boot disk using the nvramrc variable and devalias command. 3. Boot the system from the alternate disk using the devalias boot command.

Uploaded by

kukukukokila
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 2

To define a root disk mirror as bootable on a SPARC system 1. Check that the EEPROM variable use-nvramrc? is set to true.

Enter the following command at the boot prompt: ok >printenv use-nvramrc? If the system is up and running, enter the following command: # eeprom use-nvramrc? If set to true, this allows the use of alternate boot disks. If use-nvramrc? is set to false, the system fails to boot from a devalias and displays an error message such as the following: Rebooting with command: boot vx-mirdisk Boot device: /pci@1f,4000/scsi@3/disk@0,0 File and args: vx-mirdisk boot: cannot open vx-mirdisk Enter filename [vx-mirdisk]: 2. Set the value of use-nvramrc? to true. At the ok boot prompt, enter: ok setenv use-nvramrc? true If the system is up and running, use the following command: # eeprom use-nvramrc?=true 1. 3. Define an alternate boot disk by entering the following command at the ok boot prompt: ok nvramrc=devalias vx-altboot_disk where altboot_disk is the device name of an alternate disk from which the system can be booted. Alternatively, if the system is already up and running, enter the following command to define an alternate boot disk: # eeprom nvramrc=devalias vx-altboot_disk 4. Use the devalias command at the boot prompt to discover the alternate disks from which the system may be booted: ok devalias Suitable mirrors of the root disk are listed with names of the form vx-diskname. 5. You should now be able to boot the system from an alternate boot disk, vx-altboot_disk, by entering the following command at the ok boot prompt: ok boot vx-altboot_disk If a selected disk contains a root mirror that is stale, vxconfigd displays an error stating that the mirror is unusable and lists any non-stale alternate bootable disks.

Unencapsulating the root disk


---------------------------------------------

-->The below command removes the plexs that are configured on the boot disk mirror #vxplex -o rm dis rootvol-02 swapvol-02 home-02 #/etc/vx/bin/vxunroot #reboot

You might also like