Steps to mirroring in IBM AIX:
1) # lspv : Command to view the Physical volume in none state.
2) # mkvg -y <vgname> -s <PP Size> <Physical Volumes.....> : Command to create a Volume Group.
3) # mklv -y <lvname> -t <filesystem type> -c <no.of. copies> <volume group name> <no.of PP's> <Physical Volume Names> : Command to create a logical volume.
4) # crfs -v <filesystem type> -d </dev/logical_volume_name> -m <mount point> -A y : Command to create a file system.
5) # mount /<mount point> : Command to mount a file system.
Hp_Unix
1) # isocan -funC disk : Command to view the disk available in the machine.
2) # pvcreate /dev/rdsk/c0t0d0 : Command to create a physical volume.
# pvcreate /dev/rdsk/c0t0d1 : Command to create a physical volume.
3) # vgcreate <Volume Group name> /dev/dsk/c0t0d0 /dev/dsk/c0t0d1 : Command to create a volume group.
4) # vgdisplay -v <Volume Group name> | grep "PV Name" : View the physical volumes that created this volume group.
5) # lvcreate -n <Name of the logical volume> -L <Size of the logical volume> -m <no.of.copies> <volume group name>
6) # lvdisplay -v <logical volume name> : View the created a logcial volume with copies on the physical volume.
7) # newfs -F vxfs <Raw logical volume name> : Command to format the logical volume.
8) # mount <logical volume name > <mount point> : Command to mount.
1) # lspv : Command to view the Physical volume in none state.
2) # mkvg -y <vgname> -s <PP Size> <Physical Volumes.....> : Command to create a Volume Group.
3) # mklv -y <lvname> -t <filesystem type> -c <no.of. copies> <volume group name> <no.of PP's> <Physical Volume Names> : Command to create a logical volume.
4) # crfs -v <filesystem type> -d </dev/logical_volume_name> -m <mount point> -A y : Command to create a file system.
5) # mount /<mount point> : Command to mount a file system.
Hp_Unix
1) # isocan -funC disk : Command to view the disk available in the machine.
2) # pvcreate /dev/rdsk/c0t0d0 : Command to create a physical volume.
# pvcreate /dev/rdsk/c0t0d1 : Command to create a physical volume.
3) # vgcreate <Volume Group name> /dev/dsk/c0t0d0 /dev/dsk/c0t0d1 : Command to create a volume group.
4) # vgdisplay -v <Volume Group name> | grep "PV Name" : View the physical volumes that created this volume group.
5) # lvcreate -n <Name of the logical volume> -L <Size of the logical volume> -m <no.of.copies> <volume group name>
6) # lvdisplay -v <logical volume name> : View the created a logcial volume with copies on the physical volume.
7) # newfs -F vxfs <Raw logical volume name> : Command to format the logical volume.
8) # mount <logical volume name > <mount point> : Command to mount.
No comments:
Post a Comment