Performing a check after restart -115 – HP Hitachi Dynamic Link Manager Software Licenses User Manual

Page 181

Advertising
background image

# zfs destroy –r rpool/export

# zfs send -vRp hdlmpool/[email protected] | zfs receive -

uvdF rpool

3

.

Execute the zfs list command to check that data was successfully

copied to rpool, which is the root pool of the post-migration ZFS boot

disk environment.

# zfs list -r rpool

NAME USED AVAIL REFER MOUNTPOINT

rpool 42.7G 505G 73.5K /rpool

rpool/ROOT 21.9G 505G 31K legacy

rpool/ROOT/solaris 21.5M 505G 1.95G /

rpool/ROOT/solaris-2 102M 505G 3.00G /

rpool/ROOT/solaris-2/var 1K 505G 8.03G /var

rpool/ROOT/solaris/var 18.2M 505G 7.65G /var

rpool/VARSHARE 216M 505G 216M /var/share

rpool/dump 16.5G 505G 16.0G -

rpool/export 86K 505G 32K /export

rpool/export/home 36K 505G 35K /export/home

rpool/swap 4.13G 505G 4.00G -

Make sure that the /export and /export/home directories appear.

4

.

If hdlmpool/export/home and hdlmpool/export are mounted, unmount

them and then execute the zpool export command to export hdlmpool.
If the pre-migration hdlmpool/export directory exists, the pre-migration
hdlmpool/export directory might be mounted at reboot, and the post-

migration rpool/export directory might not be mounted.

# zfs umount hdlmpool/export/home

# zfs umount hdlmpool/export

# zpool export hdlmpool

5

.

Execute the init command and restart the host.

# init 6

Do not use the reboot command to restart the host.

6

.

Execute the beadm list command to check that the host restarted by

using the migrated boot device solaris-2.
Check the row starting with solaris-2, which is the migrated boot

device, and confirm that NR appears in the Active column.

# beadm list

BE Active Mountpoint Space Policy Created

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

hdlmboot R - 2.06G static 2011-12-06 11:37

solaris - - 2.93G static 2011-11-29 14:42

solaris-2 NR / 4.84G static 2011-12-11 14:01

Performing a Check after Restart

After the host restarts, perform the following check:

1

.

Execute the df command to make sure the file system is mounted.

Creating an HDLM Environment

3-115

Hitachi Dynamic Link Manager (for Solaris) User Guide

Advertising
This manual is related to the following products: