SlideShare a Scribd company logo
1 of 10
How to mount 3PAR Virtual Copy onto RHEL Servers
By Dusan Baljevic (dusan.baljevic@ieee.org)
This was done as part of labs Dusan Baljevic prepared for training course 3PAR SAN. Testing
Virtual Copy export to RHEL 5.x server…
A. On Linux server check the WWNs:
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
# cat /sys/class/fc_host/host*/port_name
0x50014380167d7e94
0x50014380167d7e96
B. Go to 3PAR MC or CLI and create host definition for Linux server,
based on the WWNs above…
C. Then, within 3PAR MC or CLI export some VVs to Linux server. In
This case, two volumes were exported: one fully provisioned, and one
thin provisioned.
D. Go to Linux server and check the new disks:
# hp_rescan -a
Rescanning /sys/class/scsi_host/host0
Rescanning /sys/class/scsi_host/host1
# multipath -l
mpath1 (360002ac0000000000000000700002894) dm-3 3PARdata,VV
[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
_ round-robin 0 [prio=0][active]
_ 0:0:0:1 sdb 8:16 [active][undef]
_ 0:0:1:1 sdd 8:48 [active][undef]
mpath0 (360002ac0000000000000000f00002894) dm-2 3PARdata,VV
[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
_ round-robin 0 [prio=0][active]
_ 0:0:0:0 sda 8:0 [active][undef]
_ 0:0:1:0 sdc 8:32 [active][undef]
# pvscan
PV /dev/cciss/c0d0p2 VG VolGroup00 lvm2 [136.56 GB / 0 free]
Total: 1 [136.56 GB] / in use: 1 [136.56 GB] / in no VG: 0 [0 ]
# pvcreate /dev/mapper/mpath0
Physical volume "/dev/mapper/mpath0" successfully created
# pvcreate /dev/mapper/mpath1
Physical volume "/dev/mapper/mpath1" successfully created
# pvscan
PV /dev/cciss/c0d0p2 VG VolGroup00 lvm2 [136.56 GB / 0
free]
PV /dev/dm-2 lvm2 [2.00 GB]
PV /dev/dm-3 lvm2 [2.00 GB]
Total: 3 [140.56 GB] / in use: 1 [136.56 GB] / in no VG: 2 [4.00 GB]
# vgcreate vg3par00 /dev/mapper/mpath0
Volume group "vg3par00" successfully created
# vgcreate vg3par01 /dev/mapper/mpath1
Volume group "vg3par01" successfully created
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg3par01" using metadata type lvm2
Found volume group "vg3par00" using metadata type lvm2
Found volume group "VolGroup00" using metadata type lvm2
# lvcreate -l 500 -n lv3par00 vg3par00
Logical volume "lv3par00" created
# lvcreate -l 500 -n lv3par01 vg3par01
Logical volume "lv3par01" created
# mkfs.ext3 -j /dev/vg3par00/lv3par00
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
256000 inodes, 512000 blocks
25600 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=524288000
16 block groups
32768 blocks per group, 32768 fragments per group
16000 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# mkfs.ext3 -j /dev/vg3par01/lv3par01
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
256000 inodes, 512000 blocks
25600 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=524288000
16 block groups
32768 blocks per group, 32768 fragments per group
16000 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 30 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
# mkdir /3parlv0
# mkdir /3parlv1
# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3
defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/vg3par00/lv3par00 /3parlv0 ext3 defaults 0 0
/dev/vg3par01/lv3par01 /3parlv1 ext3 defaults 0 0
# mount -a
E. Go to 3PAR MC or CLI and create a Virtual Copy of one of the VVs
exported to Linux server:
inserv034 cli% showvv
---Rsvd(MB)---- -(MB)-
Id Name Prov Type CopyOf BsId Rd
-Detailed_State- Adm Snp Usr VSize
1 .srdata full base --- 1 RW
normal 0 0 61440 61440
0 admin full base --- 0 RW
normal 0 0 10240 10240
21 tariq-test01-FC tpvv base --- 21 RW
normal 128 512 512 4096
22 tariq-test02-fc.0 tpvv base --- 22 RW
normal 128 512 512 1024
23 tariq-test02-fc.1 tpvv base --- 23 RW
normal 128 512 512 1024
24 tariq-test02-fc.2 tpvv base --- 24 RW
normal 128 512 512 1024
25 tariq-test02-fc.3 tpvv base --- 25 RW
normal 128 512 512 1024
26 tariq-test02-fc.4 tpvv base --- 26 RW
normal 128 512 512 1024
3 TL_1_2G_Thick cpvv base --- 3 RW normal
128 512 2048 2048
28 TL_1_2G_Thick_VC snp vcopy TL_1_2G_Thick 3 RW
normal -- -- -- 2048
2 TL_1_4GB_TP tpvv base --- 2 RW
normal 128 512 512 4096
7 TL_2_2G_Thick cpvv base --- 7 RW
normal 128 512 2048 2048
31 Dusan-VC0 snp vcopy TL_2_2G_Thick 7 RW
normal -- -- -- 2048
4 TL_2_4GB_TP tpvv base --- 4 RW
normal 128 512 512 4096
8 TL_3_2G_Thick_namechange cpvv base --- 8 RW
normal 128 512 3072 3072
9 TL_4_2G_Thick cpvv base --- 9 RW
normal 128 512 2048 2048
6 TL_4_4GB_TP tpvv base --- 6 RW
normal 128 512 512 4096
10 TL_TPVV_1GB_1.0 tpvv base --- 10 RW
normal 128 512 512 1024
11 TL_TPVV_1GB_1.1 tpvv base --- 11 RW
normal 128 512 512 1024
12 TL_TPVV_1GB_1.2 tpvv base --- 12 RW
normal 128 512 512 1024
13 TL_TPVV_1GB_1.3 tpvv base --- 13 RW
normal 128 512 512 1024
14 TL_TPVV_1GB_1.4 tpvv base --- 14 RW
normal 128 512 512 1024
15 TL_TPVV_2GB_Template tpvv base --- 15 RW
normal 128 512 512 2048
16 TL_VV_CLI_4GB full base --- 16 RW
normal 0 0 4096 4096
18 TL_VV_Multi_1.0 full base --- 18 RW
normal 0 0 1024 1024
19 TL_VV_Multi_1.1 full base --- 19 RW
normal 0 0 1024 1024
20 TL_VV_Multi_1.2 full base --- 20 RW
normal 0 0 1024 1024
----------------------------------------------------------------------
------------------------------
27
total
2432 9728 95744 120832
Then… export Virtual Copy Dusan-VC0 to Linux host:
inserv034 cli% showvlun
Active VLUNs
LunVVName HostName -Host_WWN/iSCSI_Name-
Port Type Status ID
0 TL_TPVV_2GB_Template linux 50014380167D7E94
0:2:3 host active 0
1 TL_2_2G_Thick linux 50014380167D7E94
0:2:3 host active 0
2 Dusan-VC0 linux 50014380167D7E94
0:2:3 host active 0
0 TL_TPVV_2GB_Template linux 50014380167D7E94
1:2:3 host active 0
1 TL_2_2G_Thick linux 50014380167D7E94
1:2:3 host active 0
2 Dusan-VC0 linux 50014380167D7E94
1:2:3 host active 0
0 tariq-test01-FC tariq-windows-host1 5001438003B0B394
0:2:3 host active 0
0 tariq-test01-FC tariq-windows-host1 5001438003B0B396
0:2:4 host active 0
0 tariq-test01-FC tariq-windows-host1 5001438003B0B394
1:2:3 host active 0
0 tariq-test01-FC tariq-windows-host1 5001438003B0B396
1:2:4 host active 0
0 TL_1_4GB_TP Windows_HostB 5001438003B0B390
0:2:3 host active 0
2 TL_4_4GB_TP Windows_HostB 5001438003B0B390
0:2:3 host active 0
3 TL_2_4GB_TP Windows_HostB 5001438003B0B390
0:2:3 host active 0
0 TL_1_4GB_TP Windows_HostB 5001438003B0B392
0:2:4 host active 0
2 TL_4_4GB_TP Windows_HostB 5001438003B0B392
0:2:4 host active 0
3 TL_2_4GB_TP Windows_HostB 5001438003B0B392
0:2:4 host active 0
0 TL_1_4GB_TP Windows_HostB 5001438003B0B390
1:2:3 host active 0
2 TL_4_4GB_TP Windows_HostB 5001438003B0B390
1:2:3 host active 0
3 TL_2_4GB_TP Windows_HostB 5001438003B0B390
1:2:3 host active 0
0 TL_1_4GB_TP Windows_HostB 5001438003B0B392
1:2:4 host active 0
2 TL_4_4GB_TP Windows_HostB 5001438003B0B392
1:2:4 host active 0
3 TL_2_4GB_TP Windows_HostB 5001438003B0B392
1:2:4 host active 0
----------------------------------------------------------------------
-----------------
22 total
VLUN Templates
LunVVName HostName -Host_WWN/iSCSI_Name- Port
Type
0 TL_TPVV_2GB_Template linux ---------------- ---
host
1 TL_2_2G_Thick linux ----------------
--- host
2 Dusan-VC0 linux ----------------
--- host
0 tariq-test01-FC tariq-windows-host1 ----------------
--- host
0 TL_1_4GB_TP Windows_HostB ----------------
--- host
2 TL_4_4GB_TP Windows_HostB ----------------
--- host
3 TL_2_4GB_TP Windows_HostB ----------------
--- host
----------------------------------------------------------------------
------
7 total
F. On Linux server:
# hp_rescan –a
# multipath -l
mpath2 (360002ac0000000000000001f00002894) dm-6 3PARdata,VV
[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
_ round-robin 0 [prio=0][active]
_ 0:0:0:2 sde 8:64 [active][undef]
_ 0:0:1:2 sdf 8:80 [active][undef]
mpath1 (360002ac0000000000000000700002894) dm-3 3PARdata,VV
[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
_ round-robin 0 [prio=0][active]
_ 0:0:0:1 sdb 8:16 [active][undef]
_ 0:0:1:1 sdd 8:48 [active][undef]
mpath0 (360002ac0000000000000000f00002894) dm-2 3PARdata,VV
[size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw]
_ round-robin 0 [prio=0][active]
_ 0:0:0:0 sda 8:0 [active][undef]
_ 0:0:1:0 sdc 8:32 [active][undef]
# vgscan
Reading all physical volumes. This may take a while...
Found duplicate PV sPqCNKe7AQY38Jb2xiXHqPJVJcXMhhif: using /dev/dm-6
not /dev/dm-3
Found volume group "vg3par01" using metadata type lvm2
Found volume group "vg3par00" using metadata type lvm2
Found volume group "VolGroup00" using metadata type lvm2
# pvscan
Found duplicate PV sPqCNKe7AQY38Jb2xiXHqPJVJcXMhhif: using /dev/dm-6
not /dev/dm-3
PV /dev/dm-6 VG vg3par01 lvm2 [2.00 GB / 44.00 MB
free]
PV /dev/dm-2 VG vg3par00 lvm2 [2.00 GB / 44.00 MB
free]
PV /dev/cciss/c0d0p2 VG VolGroup00 lvm2 [136.56 GB / 0 free]
Total: 3 [140.55 GB] / in use: 3 [140.55 GB] / in no VG: 0 [0 ]
# lvscan
Found duplicate PV sPqCNKe7AQY38Jb2xiXHqPJVJcXMhhif: using /dev/dm-6
not /dev/dm-3
ACTIVE '/dev/vg3par01/lv3par01' [1.95 GB] inherit
ACTIVE '/dev/vg3par00/lv3par00' [1.95 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol00' [118.94 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [17.62 GB] inherit
# vgimportclone --basevgname vg3par00-snap /dev/dm-3
WARNING: Activation disabled. No device-mapper interaction will be
attempted.
Physical volume "/tmp/snap.STU18061/vgimport0" changed
1 physical volume changed / 0 physical volumes not changed
WARNING: Activation disabled. No device-mapper interaction will be
attempted.
Volume group "vg3par01" successfully changed
Volume group "vg3par01" successfully renamed to "vg3par00-snap"
Reading all physical volumes. This may take a while...
Found volume group "vg3par01" using metadata type lvm2
Found volume group "vg3par00-snap" using metadata type lvm2
Found volume group "vg3par00" using metadata type lvm2
Found volume group "VolGroup00" using metadata type lvm2
# vgchange -a y vg3par00-snap
1 logical volume(s) in volume group "vg3par00-snap" now active
# cat /etc/fstab
/dev/VolGroup00/LogVol00
/dev/VolGroup00/LogVol00 /
ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/vg3par00/lv3par00 /3parlv0 ext3 defaults 0 0
/dev/vg3par01/lv3par01 /3parlv1 ext3 defaults 0 0
/dev/vg3par00-snap/lv3par01 /3parlv0-vc ext3 defaults 0 0
# mkdir /3parlv0-vc
# mount –a
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
120807460 3843856 110727856 4% /
/dev/cciss/c0d0p1 101086 16833 79034 18% /boot
tmpfs 8219324 0 8219324 0% /dev/shm
/dev/mapper/vg3par01-lv3par01
2015824 35808 1877616 2% /3parlv1
/dev/mapper/vg3par00-lv3par00
2015824 35808 1877616 2% /3parlv0
/dev/mapper/vg3par00--snap-lv3par01
2015824 35808 1877616 2% /3parlv0-vc
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
120807460 3843856 110727856 4% /
/dev/cciss/c0d0p1 101086 16833 79034 18% /boot
tmpfs 8219324 0 8219324 0% /dev/shm
/dev/mapper/vg3par01-lv3par01
2015824 35808 1877616 2% /3parlv1
/dev/mapper/vg3par00-lv3par00
2015824 35808 1877616 2% /3parlv0
/dev/mapper/vg3par00--snap-lv3par01
2015824 35808 1877616 2% /3parlv0-vc

More Related Content

What's hot

Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
badamisri
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622
Todd Deshane
 
Linuxdd[1]
Linuxdd[1]Linuxdd[1]
Linuxdd[1]
mcganesh
 
Kernel compilation
Kernel compilationKernel compilation
Kernel compilation
mcganesh
 

What's hot (20)

Linux Crash Dump Capture and Analysis
Linux Crash Dump Capture and AnalysisLinux Crash Dump Capture and Analysis
Linux Crash Dump Capture and Analysis
 
First steps on CentOs7
First steps on CentOs7First steps on CentOs7
First steps on CentOs7
 
Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)Part 01 Linux Kernel Compilation (Ubuntu)
Part 01 Linux Kernel Compilation (Ubuntu)
 
AIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge ShareAIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge Share
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
 
Basic Linux kernel
Basic Linux kernelBasic Linux kernel
Basic Linux kernel
 
LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf
LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdfLinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf
LinuxCon_2013_NA_Eckermann_Filesystems_btrfs.pdf
 
Linux kernel modules
Linux kernel modulesLinux kernel modules
Linux kernel modules
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622
 
Linux SD/MMC device driver
Linux SD/MMC device driverLinux SD/MMC device driver
Linux SD/MMC device driver
 
Kernel Recipes 2015 - So you want to write a Linux driver framework
Kernel Recipes 2015 - So you want to write a Linux driver frameworkKernel Recipes 2015 - So you want to write a Linux driver framework
Kernel Recipes 2015 - So you want to write a Linux driver framework
 
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwareBuilding a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
 
U-Boot presentation 2013
U-Boot presentation  2013U-Boot presentation  2013
U-Boot presentation 2013
 
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSEXPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
 
Linuxdd[1]
Linuxdd[1]Linuxdd[1]
Linuxdd[1]
 
Easy backup & restore with Clonezilla - Tips form Basic to Advanced
Easy backup & restore with Clonezilla - Tips form Basic to AdvancedEasy backup & restore with Clonezilla - Tips form Basic to Advanced
Easy backup & restore with Clonezilla - Tips form Basic to Advanced
 
PV-Drivers for SeaBIOS using Upstream Qemu
PV-Drivers for SeaBIOS using Upstream QemuPV-Drivers for SeaBIOS using Upstream Qemu
PV-Drivers for SeaBIOS using Upstream Qemu
 
Aix commands
Aix commandsAix commands
Aix commands
 
Informix Warehouse Accelerator on Cluster
Informix Warehouse Accelerator on ClusterInformix Warehouse Accelerator on Cluster
Informix Warehouse Accelerator on Cluster
 
Kernel compilation
Kernel compilationKernel compilation
Kernel compilation
 

Similar to How to-mount-3 par-san-virtual-copy-onto-rhel-servers-by-Dusan-Baljevic

Add and configure lu ns in solaris
Add and configure lu ns in solarisAdd and configure lu ns in solaris
Add and configure lu ns in solaris
Amrita Dey
 
Docker - container and lightweight virtualization
Docker - container and lightweight virtualization Docker - container and lightweight virtualization
Docker - container and lightweight virtualization
Sim Janghoon
 
Varnish @ Velocity Ignite
Varnish @ Velocity IgniteVarnish @ Velocity Ignite
Varnish @ Velocity Ignite
Artur Bergman
 

Similar to How to-mount-3 par-san-virtual-copy-onto-rhel-servers-by-Dusan-Baljevic (20)

VLANs in the Linux Kernel
VLANs in the Linux KernelVLANs in the Linux Kernel
VLANs in the Linux Kernel
 
Haproxy - zastosowania
Haproxy - zastosowaniaHaproxy - zastosowania
Haproxy - zastosowania
 
Open stack advanced_part
Open stack advanced_partOpen stack advanced_part
Open stack advanced_part
 
SR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/Stable
SR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/StableSR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/Stable
SR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/Stable
 
Powervc upgrade from_1.3.0.2_to_1.3.2.0
Powervc upgrade from_1.3.0.2_to_1.3.2.0Powervc upgrade from_1.3.0.2_to_1.3.2.0
Powervc upgrade from_1.3.0.2_to_1.3.2.0
 
TrinityCore server install guide
TrinityCore server install guideTrinityCore server install guide
TrinityCore server install guide
 
Debugging Ruby
Debugging RubyDebugging Ruby
Debugging Ruby
 
Docker and friends at Linux Days 2014 in Prague
Docker and friends at Linux Days 2014 in PragueDocker and friends at Linux Days 2014 in Prague
Docker and friends at Linux Days 2014 in Prague
 
SR-IOV+KVM on Debian/Stable
SR-IOV+KVM on Debian/StableSR-IOV+KVM on Debian/Stable
SR-IOV+KVM on Debian/Stable
 
C&C Botnet Factory
C&C Botnet FactoryC&C Botnet Factory
C&C Botnet Factory
 
Add and configure lu ns in solaris
Add and configure lu ns in solarisAdd and configure lu ns in solaris
Add and configure lu ns in solaris
 
How to debug ocfs2 hang problem
How to debug ocfs2 hang problemHow to debug ocfs2 hang problem
How to debug ocfs2 hang problem
 
FreeLix: Semplicità & Controllo
FreeLix: Semplicità & ControlloFreeLix: Semplicità & Controllo
FreeLix: Semplicità & Controllo
 
Docker - container and lightweight virtualization
Docker - container and lightweight virtualization Docker - container and lightweight virtualization
Docker - container and lightweight virtualization
 
[OpenStack 하반기 스터디] HA using DVR
[OpenStack 하반기 스터디] HA using DVR[OpenStack 하반기 스터디] HA using DVR
[OpenStack 하반기 스터디] HA using DVR
 
Vagrant, Ansible, and OpenStack on your laptop
Vagrant, Ansible, and OpenStack on your laptopVagrant, Ansible, and OpenStack on your laptop
Vagrant, Ansible, and OpenStack on your laptop
 
Reverse engineering Swisscom's Centro Grande Modem
Reverse engineering Swisscom's Centro Grande ModemReverse engineering Swisscom's Centro Grande Modem
Reverse engineering Swisscom's Centro Grande Modem
 
Varnish @ Velocity Ignite
Varnish @ Velocity IgniteVarnish @ Velocity Ignite
Varnish @ Velocity Ignite
 
OakTable World Sep14 clonedb
OakTable World Sep14 clonedb OakTable World Sep14 clonedb
OakTable World Sep14 clonedb
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
 

More from Circling Cycle

More from Circling Cycle (17)

Brief summary-standard-password-hashes-Aix-FreeBSD-Linux-Solaris-HP-UX-May-20...
Brief summary-standard-password-hashes-Aix-FreeBSD-Linux-Solaris-HP-UX-May-20...Brief summary-standard-password-hashes-Aix-FreeBSD-Linux-Solaris-HP-UX-May-20...
Brief summary-standard-password-hashes-Aix-FreeBSD-Linux-Solaris-HP-UX-May-20...
 
Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014
Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014
Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014
 
Ovclusterinfo command by Dusan Baljevic
Ovclusterinfo command by Dusan BaljevicOvclusterinfo command by Dusan Baljevic
Ovclusterinfo command by Dusan Baljevic
 
HP-UX 11i Log File Management with Logrotate by Dusan Baljevic
HP-UX 11i Log File Management with Logrotate by Dusan BaljevicHP-UX 11i Log File Management with Logrotate by Dusan Baljevic
HP-UX 11i Log File Management with Logrotate by Dusan Baljevic
 
How to Remove Primary Swap on HP-UX 11iv3 Online by Dusan Baljevic
How to Remove Primary Swap on HP-UX 11iv3 Online by Dusan BaljevicHow to Remove Primary Swap on HP-UX 11iv3 Online by Dusan Baljevic
How to Remove Primary Swap on HP-UX 11iv3 Online by Dusan Baljevic
 
HP-UX 11iv3 Private Kernel Parameter nfile by Dusan Baljevic
HP-UX 11iv3 Private Kernel Parameter nfile by Dusan BaljevicHP-UX 11iv3 Private Kernel Parameter nfile by Dusan Baljevic
HP-UX 11iv3 Private Kernel Parameter nfile by Dusan Baljevic
 
HP-UX 11i LVM Mirroring Features and Multi-threads by Dusan Baljevic
HP-UX 11i LVM Mirroring Features and Multi-threads by Dusan BaljevicHP-UX 11i LVM Mirroring Features and Multi-threads by Dusan Baljevic
HP-UX 11i LVM Mirroring Features and Multi-threads by Dusan Baljevic
 
HP-UX with Rsync by Dusan Baljevic
HP-UX with Rsync by Dusan BaljevicHP-UX with Rsync by Dusan Baljevic
HP-UX with Rsync by Dusan Baljevic
 
Three CLI Methods to Find Console IP details on HP-UX by Dusan Baljevic
Three CLI Methods to Find Console IP details on HP-UX by Dusan BaljevicThree CLI Methods to Find Console IP details on HP-UX by Dusan Baljevic
Three CLI Methods to Find Console IP details on HP-UX by Dusan Baljevic
 
HP-UX RBAC Audsys Setup by Dusan Baljevic
HP-UX RBAC Audsys Setup by Dusan BaljevicHP-UX RBAC Audsys Setup by Dusan Baljevic
HP-UX RBAC Audsys Setup by Dusan Baljevic
 
HP-UX Dynamic Root Disk Boot Disk Cloning Benefits and Use Cases by Dusan Bal...
HP-UX Dynamic Root Disk Boot Disk Cloning Benefits and Use Cases by Dusan Bal...HP-UX Dynamic Root Disk Boot Disk Cloning Benefits and Use Cases by Dusan Bal...
HP-UX Dynamic Root Disk Boot Disk Cloning Benefits and Use Cases by Dusan Bal...
 
HP-UX Swap and Dump Unleashed by Dusan Baljevic
HP-UX Swap and Dump Unleashed by Dusan BaljevicHP-UX Swap and Dump Unleashed by Dusan Baljevic
HP-UX Swap and Dump Unleashed by Dusan Baljevic
 
HP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan Baljevic
HP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan BaljevicHP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan Baljevic
HP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan Baljevic
 
HP-UX Dynamic Root Disk vs Solaris Live Upgrade vs AIX Multibos by Dusan Balj...
HP-UX Dynamic Root Disk vs Solaris Live Upgrade vs AIX Multibos by Dusan Balj...HP-UX Dynamic Root Disk vs Solaris Live Upgrade vs AIX Multibos by Dusan Balj...
HP-UX Dynamic Root Disk vs Solaris Live Upgrade vs AIX Multibos by Dusan Balj...
 
HP-UX 11iv3 How to Change Root Volume Group Name vg00 by Dusan Baljevic
HP-UX 11iv3 How to Change Root Volume Group Name vg00 by Dusan BaljevicHP-UX 11iv3 How to Change Root Volume Group Name vg00 by Dusan Baljevic
HP-UX 11iv3 How to Change Root Volume Group Name vg00 by Dusan Baljevic
 
Better Settings for /tmp Filesystem on HP-UX by Dusan Baljevic
Better Settings for /tmp Filesystem on HP-UX by Dusan BaljevicBetter Settings for /tmp Filesystem on HP-UX by Dusan Baljevic
Better Settings for /tmp Filesystem on HP-UX by Dusan Baljevic
 
Comparison of Unix and Linux Log File Management Tools by Dusan Baljevic
Comparison of Unix and Linux Log File Management Tools by Dusan BaljevicComparison of Unix and Linux Log File Management Tools by Dusan Baljevic
Comparison of Unix and Linux Log File Management Tools by Dusan Baljevic
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

How to-mount-3 par-san-virtual-copy-onto-rhel-servers-by-Dusan-Baljevic

  • 1. How to mount 3PAR Virtual Copy onto RHEL Servers By Dusan Baljevic (dusan.baljevic@ieee.org) This was done as part of labs Dusan Baljevic prepared for training course 3PAR SAN. Testing Virtual Copy export to RHEL 5.x server… A. On Linux server check the WWNs: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.4 (Tikanga) # cat /sys/class/fc_host/host*/port_name 0x50014380167d7e94 0x50014380167d7e96 B. Go to 3PAR MC or CLI and create host definition for Linux server, based on the WWNs above… C. Then, within 3PAR MC or CLI export some VVs to Linux server. In This case, two volumes were exported: one fully provisioned, and one thin provisioned. D. Go to Linux server and check the new disks: # hp_rescan -a Rescanning /sys/class/scsi_host/host0 Rescanning /sys/class/scsi_host/host1 # multipath -l mpath1 (360002ac0000000000000000700002894) dm-3 3PARdata,VV [size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw] _ round-robin 0 [prio=0][active] _ 0:0:0:1 sdb 8:16 [active][undef] _ 0:0:1:1 sdd 8:48 [active][undef] mpath0 (360002ac0000000000000000f00002894) dm-2 3PARdata,VV [size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw] _ round-robin 0 [prio=0][active] _ 0:0:0:0 sda 8:0 [active][undef] _ 0:0:1:0 sdc 8:32 [active][undef] # pvscan PV /dev/cciss/c0d0p2 VG VolGroup00 lvm2 [136.56 GB / 0 free] Total: 1 [136.56 GB] / in use: 1 [136.56 GB] / in no VG: 0 [0 ] # pvcreate /dev/mapper/mpath0 Physical volume "/dev/mapper/mpath0" successfully created # pvcreate /dev/mapper/mpath1
  • 2. Physical volume "/dev/mapper/mpath1" successfully created # pvscan PV /dev/cciss/c0d0p2 VG VolGroup00 lvm2 [136.56 GB / 0 free] PV /dev/dm-2 lvm2 [2.00 GB] PV /dev/dm-3 lvm2 [2.00 GB] Total: 3 [140.56 GB] / in use: 1 [136.56 GB] / in no VG: 2 [4.00 GB] # vgcreate vg3par00 /dev/mapper/mpath0 Volume group "vg3par00" successfully created # vgcreate vg3par01 /dev/mapper/mpath1 Volume group "vg3par01" successfully created # vgscan Reading all physical volumes. This may take a while... Found volume group "vg3par01" using metadata type lvm2 Found volume group "vg3par00" using metadata type lvm2 Found volume group "VolGroup00" using metadata type lvm2 # lvcreate -l 500 -n lv3par00 vg3par00 Logical volume "lv3par00" created # lvcreate -l 500 -n lv3par01 vg3par01 Logical volume "lv3par01" created # mkfs.ext3 -j /dev/vg3par00/lv3par00 mke2fs 1.39 (29-May-2006) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 256000 inodes, 512000 blocks 25600 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=524288000 16 block groups 32768 blocks per group, 32768 fragments per group 16000 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 34 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. # mkfs.ext3 -j /dev/vg3par01/lv3par01
  • 3. mke2fs 1.39 (29-May-2006) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 256000 inodes, 512000 blocks 25600 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=524288000 16 block groups 32768 blocks per group, 32768 fragments per group 16000 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 30 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. # mkdir /3parlv0 # mkdir /3parlv1 # cat /etc/fstab /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 /dev/vg3par00/lv3par00 /3parlv0 ext3 defaults 0 0 /dev/vg3par01/lv3par01 /3parlv1 ext3 defaults 0 0 # mount -a E. Go to 3PAR MC or CLI and create a Virtual Copy of one of the VVs exported to Linux server:
  • 4. inserv034 cli% showvv ---Rsvd(MB)---- -(MB)- Id Name Prov Type CopyOf BsId Rd -Detailed_State- Adm Snp Usr VSize 1 .srdata full base --- 1 RW normal 0 0 61440 61440 0 admin full base --- 0 RW normal 0 0 10240 10240 21 tariq-test01-FC tpvv base --- 21 RW normal 128 512 512 4096 22 tariq-test02-fc.0 tpvv base --- 22 RW normal 128 512 512 1024 23 tariq-test02-fc.1 tpvv base --- 23 RW normal 128 512 512 1024 24 tariq-test02-fc.2 tpvv base --- 24 RW normal 128 512 512 1024 25 tariq-test02-fc.3 tpvv base --- 25 RW normal 128 512 512 1024 26 tariq-test02-fc.4 tpvv base --- 26 RW normal 128 512 512 1024 3 TL_1_2G_Thick cpvv base --- 3 RW normal 128 512 2048 2048 28 TL_1_2G_Thick_VC snp vcopy TL_1_2G_Thick 3 RW normal -- -- -- 2048
  • 5. 2 TL_1_4GB_TP tpvv base --- 2 RW normal 128 512 512 4096 7 TL_2_2G_Thick cpvv base --- 7 RW normal 128 512 2048 2048 31 Dusan-VC0 snp vcopy TL_2_2G_Thick 7 RW normal -- -- -- 2048 4 TL_2_4GB_TP tpvv base --- 4 RW normal 128 512 512 4096 8 TL_3_2G_Thick_namechange cpvv base --- 8 RW normal 128 512 3072 3072 9 TL_4_2G_Thick cpvv base --- 9 RW normal 128 512 2048 2048 6 TL_4_4GB_TP tpvv base --- 6 RW normal 128 512 512 4096 10 TL_TPVV_1GB_1.0 tpvv base --- 10 RW normal 128 512 512 1024 11 TL_TPVV_1GB_1.1 tpvv base --- 11 RW normal 128 512 512 1024 12 TL_TPVV_1GB_1.2 tpvv base --- 12 RW normal 128 512 512 1024 13 TL_TPVV_1GB_1.3 tpvv base --- 13 RW normal 128 512 512 1024 14 TL_TPVV_1GB_1.4 tpvv base --- 14 RW normal 128 512 512 1024 15 TL_TPVV_2GB_Template tpvv base --- 15 RW normal 128 512 512 2048 16 TL_VV_CLI_4GB full base --- 16 RW normal 0 0 4096 4096 18 TL_VV_Multi_1.0 full base --- 18 RW normal 0 0 1024 1024 19 TL_VV_Multi_1.1 full base --- 19 RW normal 0 0 1024 1024 20 TL_VV_Multi_1.2 full base --- 20 RW normal 0 0 1024 1024 ---------------------------------------------------------------------- ------------------------------ 27 total 2432 9728 95744 120832 Then… export Virtual Copy Dusan-VC0 to Linux host: inserv034 cli% showvlun Active VLUNs LunVVName HostName -Host_WWN/iSCSI_Name- Port Type Status ID 0 TL_TPVV_2GB_Template linux 50014380167D7E94 0:2:3 host active 0 1 TL_2_2G_Thick linux 50014380167D7E94 0:2:3 host active 0 2 Dusan-VC0 linux 50014380167D7E94 0:2:3 host active 0
  • 6. 0 TL_TPVV_2GB_Template linux 50014380167D7E94 1:2:3 host active 0 1 TL_2_2G_Thick linux 50014380167D7E94 1:2:3 host active 0 2 Dusan-VC0 linux 50014380167D7E94 1:2:3 host active 0 0 tariq-test01-FC tariq-windows-host1 5001438003B0B394 0:2:3 host active 0 0 tariq-test01-FC tariq-windows-host1 5001438003B0B396 0:2:4 host active 0 0 tariq-test01-FC tariq-windows-host1 5001438003B0B394 1:2:3 host active 0 0 tariq-test01-FC tariq-windows-host1 5001438003B0B396 1:2:4 host active 0 0 TL_1_4GB_TP Windows_HostB 5001438003B0B390 0:2:3 host active 0 2 TL_4_4GB_TP Windows_HostB 5001438003B0B390 0:2:3 host active 0 3 TL_2_4GB_TP Windows_HostB 5001438003B0B390 0:2:3 host active 0 0 TL_1_4GB_TP Windows_HostB 5001438003B0B392 0:2:4 host active 0 2 TL_4_4GB_TP Windows_HostB 5001438003B0B392 0:2:4 host active 0 3 TL_2_4GB_TP Windows_HostB 5001438003B0B392 0:2:4 host active 0 0 TL_1_4GB_TP Windows_HostB 5001438003B0B390 1:2:3 host active 0 2 TL_4_4GB_TP Windows_HostB 5001438003B0B390 1:2:3 host active 0 3 TL_2_4GB_TP Windows_HostB 5001438003B0B390 1:2:3 host active 0 0 TL_1_4GB_TP Windows_HostB 5001438003B0B392 1:2:4 host active 0 2 TL_4_4GB_TP Windows_HostB 5001438003B0B392 1:2:4 host active 0 3 TL_2_4GB_TP Windows_HostB 5001438003B0B392 1:2:4 host active 0 ---------------------------------------------------------------------- ----------------- 22 total VLUN Templates LunVVName HostName -Host_WWN/iSCSI_Name- Port Type 0 TL_TPVV_2GB_Template linux ---------------- --- host 1 TL_2_2G_Thick linux ---------------- --- host 2 Dusan-VC0 linux ---------------- --- host
  • 7. 0 tariq-test01-FC tariq-windows-host1 ---------------- --- host 0 TL_1_4GB_TP Windows_HostB ---------------- --- host 2 TL_4_4GB_TP Windows_HostB ---------------- --- host 3 TL_2_4GB_TP Windows_HostB ---------------- --- host ---------------------------------------------------------------------- ------ 7 total F. On Linux server: # hp_rescan –a # multipath -l mpath2 (360002ac0000000000000001f00002894) dm-6 3PARdata,VV [size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw] _ round-robin 0 [prio=0][active] _ 0:0:0:2 sde 8:64 [active][undef] _ 0:0:1:2 sdf 8:80 [active][undef] mpath1 (360002ac0000000000000000700002894) dm-3 3PARdata,VV [size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw] _ round-robin 0 [prio=0][active] _ 0:0:0:1 sdb 8:16 [active][undef] _ 0:0:1:1 sdd 8:48 [active][undef] mpath0 (360002ac0000000000000000f00002894) dm-2 3PARdata,VV [size=2.0G][features=1 queue_if_no_path][hwhandler=0][rw] _ round-robin 0 [prio=0][active] _ 0:0:0:0 sda 8:0 [active][undef] _ 0:0:1:0 sdc 8:32 [active][undef] # vgscan Reading all physical volumes. This may take a while... Found duplicate PV sPqCNKe7AQY38Jb2xiXHqPJVJcXMhhif: using /dev/dm-6 not /dev/dm-3 Found volume group "vg3par01" using metadata type lvm2 Found volume group "vg3par00" using metadata type lvm2 Found volume group "VolGroup00" using metadata type lvm2 # pvscan Found duplicate PV sPqCNKe7AQY38Jb2xiXHqPJVJcXMhhif: using /dev/dm-6 not /dev/dm-3 PV /dev/dm-6 VG vg3par01 lvm2 [2.00 GB / 44.00 MB free] PV /dev/dm-2 VG vg3par00 lvm2 [2.00 GB / 44.00 MB free] PV /dev/cciss/c0d0p2 VG VolGroup00 lvm2 [136.56 GB / 0 free] Total: 3 [140.55 GB] / in use: 3 [140.55 GB] / in no VG: 0 [0 ]
  • 8. # lvscan Found duplicate PV sPqCNKe7AQY38Jb2xiXHqPJVJcXMhhif: using /dev/dm-6 not /dev/dm-3 ACTIVE '/dev/vg3par01/lv3par01' [1.95 GB] inherit ACTIVE '/dev/vg3par00/lv3par00' [1.95 GB] inherit ACTIVE '/dev/VolGroup00/LogVol00' [118.94 GB] inherit ACTIVE '/dev/VolGroup00/LogVol01' [17.62 GB] inherit # vgimportclone --basevgname vg3par00-snap /dev/dm-3 WARNING: Activation disabled. No device-mapper interaction will be attempted. Physical volume "/tmp/snap.STU18061/vgimport0" changed 1 physical volume changed / 0 physical volumes not changed WARNING: Activation disabled. No device-mapper interaction will be attempted. Volume group "vg3par01" successfully changed Volume group "vg3par01" successfully renamed to "vg3par00-snap" Reading all physical volumes. This may take a while... Found volume group "vg3par01" using metadata type lvm2 Found volume group "vg3par00-snap" using metadata type lvm2 Found volume group "vg3par00" using metadata type lvm2 Found volume group "VolGroup00" using metadata type lvm2 # vgchange -a y vg3par00-snap 1 logical volume(s) in volume group "vg3par00-snap" now active # cat /etc/fstab /dev/VolGroup00/LogVol00 /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 /dev/vg3par00/lv3par00 /3parlv0 ext3 defaults 0 0 /dev/vg3par01/lv3par01 /3parlv1 ext3 defaults 0 0 /dev/vg3par00-snap/lv3par01 /3parlv0-vc ext3 defaults 0 0 # mkdir /3parlv0-vc # mount –a
  • 9. # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 120807460 3843856 110727856 4% / /dev/cciss/c0d0p1 101086 16833 79034 18% /boot tmpfs 8219324 0 8219324 0% /dev/shm /dev/mapper/vg3par01-lv3par01 2015824 35808 1877616 2% /3parlv1 /dev/mapper/vg3par00-lv3par00 2015824 35808 1877616 2% /3parlv0 /dev/mapper/vg3par00--snap-lv3par01 2015824 35808 1877616 2% /3parlv0-vc
  • 10. # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 120807460 3843856 110727856 4% / /dev/cciss/c0d0p1 101086 16833 79034 18% /boot tmpfs 8219324 0 8219324 0% /dev/shm /dev/mapper/vg3par01-lv3par01 2015824 35808 1877616 2% /3parlv1 /dev/mapper/vg3par00-lv3par00 2015824 35808 1877616 2% /3parlv0 /dev/mapper/vg3par00--snap-lv3par01 2015824 35808 1877616 2% /3parlv0-vc