SR dengan tipe ISO berfungsi untuk menyimpan file-file CD Images yang berformat ISO. Biasanya disebut dengan ISO Library. Disini kita akan mengalokasikan kapasitas sebesar 50 GB sebagai partisi yang akan menampung file-file ISO. Space yang digunakan diambil dari SR lvm yang pada
tutorial yang lalu telah kita buat dan difungsikan sebagai Backup Storage. Ikuti langkah-langkah berikut ini.
[root@xenserver-master ~]# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 500.1 GB, 500107862016 bytes
256 heads, 63 sectors/track, 60563 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 60564 488386583+ ee EFI GPT
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/dm-0: 498.9 GB, 498999492608 bytes
255 heads, 63 sectors/track, 60666 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
[root@xenserver-master ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450 VG_XenStorage-3c866da7-560e-d623-4d2f-df5b8beec3ca lvm2 a- 464,72G 464,71G
/dev/sda3 VG_XenStorage-f2faf157-8ee8-7434-58ad-c01875eecff8 lvm2 a- 457,75G 457,75G
[root@xenserver-master ~]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
MGT VG_XenStorage-3c866da7-560e-d623-4d2f-df5b8beec3ca -wi-a- 4,00M
MGT VG_XenStorage-f2faf157-8ee8-7434-58ad-c01875eecff8 -wi-a- 4,00M
[root@xenserver-master ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450 VG_XenStorage-3c866da7-560e-d623-4d2f-df5b8beec3ca lvm2 a- 464,72G 464,71G
/dev/sda3 VG_XenStorage-f2faf157-8ee8-7434-58ad-c01875eecff8 lvm2 a- 457,75G 457,75G
[root@xenserver-master ~]# vgs
VG #PV #LV #SN Attr VSize VFree
VG_XenStorage-3c866da7-560e-d623-4d2f-df5b8beec3ca 1 1 0 wz--n- 464,72G 464,71G
VG_XenStorage-f2faf157-8ee8-7434-58ad-c01875eecff8 1 1 0 wz--n- 457,75G 457,75G
[root@xenserver-master ~]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
MGT VG_XenStorage-3c866da7-560e-d623-4d2f-df5b8beec3ca -wi-a- 4,00M
MGT VG_XenStorage-f2faf157-8ee8-7434-58ad-c01875eecff8 -wi-a- 4,00M
[root@xenserver-master ~]# lvcreate VG_XenStorage-3c866da7-560e-d623-4d2f-df5b8beec3ca --size 50G --name ISO-Lib
Logical volume "ISO-Lib" created
[root@xenserver-master ~]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
ISO-Lib VG_XenStorage-3c866da7-560e-d623-4d2f-df5b8beec3ca -wi-a- 50,00G
MGT VG_XenStorage-3c866da7-560e-d623-4d2f-df5b8beec3ca -wi-a- 4,00M
MGT VG_XenStorage-f2faf157-8ee8-7434-58ad-c01875eecff8 -wi-a- 4,00M
[root@xenserver-master ~]# mkfs.ext3 /dev/VG_XenStorage-3c866da7-560e-d623-4d2f-df5b8beec3ca/ISO-Lib
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
6553600 inodes, 13107200 blocks
655360 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
400 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Writing inode tables: done
Creating journal (32768 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.