i have a problem with one hdisk in volume group , so we need to replace it with new one
but i want the same configuration like exact filesytem name, logical volume names..
the disk i have problem is with hdisk1
before this i take the TSM backup of whole filesystem
atlanta1/root: / > lspv -l hdisk1
hdiskpower53:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
loglv05 1 1 01..00..00..00 N/A
lv04 256 256 0..115..115..26..00 /db2
take the mapping file of logical volume
lslv -l lv04
then umount the filesystem
>>>>umount /db2
remove the LVs
>>>>>rmlv lv04
remove the disk from volume group
>>>>>reducevg hdisk1
remove the device from ODM
>>>>rmdev -dl hdisk1
after adding the new one
>>>>extendvg sanvg hdisk#
>>>>i need to run mklv right ??? to match the same old logical volume whats the syntax here ???????
then for file system, i need to do mkfs ...whats the syntax??????
>>>>>mkfs
then mount that file system
and do the old TSM data resotre to here ..
so can any one pls confirm these steps and tell those ????? syntax thing...
any help appreciated ..
thank you..
but i want the same configuration like exact filesytem name, logical volume names..
the disk i have problem is with hdisk1
before this i take the TSM backup of whole filesystem
atlanta1/root: / > lspv -l hdisk1
hdiskpower53:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
loglv05 1 1 01..00..00..00 N/A
lv04 256 256 0..115..115..26..00 /db2
take the mapping file of logical volume
lslv -l lv04
then umount the filesystem
>>>>umount /db2
remove the LVs
>>>>>rmlv lv04
remove the disk from volume group
>>>>>reducevg hdisk1
remove the device from ODM
>>>>rmdev -dl hdisk1
after adding the new one
>>>>extendvg sanvg hdisk#
>>>>i need to run mklv right ??? to match the same old logical volume whats the syntax here ???????
then for file system, i need to do mkfs ...whats the syntax??????
>>>>>mkfs
then mount that file system
and do the old TSM data resotre to here ..
so can any one pls confirm these steps and tell those ????? syntax thing...
any help appreciated ..
thank you..