Mounting partisi LVM di centos
Berikut tips mounting partisi LVM di centos:
1. cek dulu partisinya
fdisk -l /dev/sda
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 121601 976655610 8e Linux LVM
2. cek informasi partisi
pvs
hasilnya
lvdisplay /dev/VolGroup00
hasilnya:
4. setelah tau lokasi folder lvm lakukan mounting.
mount /dev/VolGroup00/LogVol00 /mnt/tmp
hasil mounting bisa cek di folder /mnt/tmp
1. cek dulu partisinya
fdisk -l /dev/sda
hasilnya:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 121601 976655610 8e Linux LVM
2. cek informasi partisi
pvs
hasilnya
PV VG Fmt Attr PSize PFree
/dev/sda2 VolGroup00 lvm2 a-- 931,41G 0
root@sj7 [~]# fdisk -l /dev/sda
3. cek informasi lvm nya./dev/sda2 VolGroup00 lvm2 a-- 931,41G 0
root@sj7 [~]# fdisk -l /dev/sda
lvdisplay /dev/VolGroup00
hasilnya:
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID dyi31m-U6qv-zUzE-nvGd-P2zd-KZ2r-I6Ec7d
LV Write Access read/write
LV Status available
# open 1
LV Size 926,28 GB
Current LE 29641
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID I3mQHd-xjr1-FUqD-c9xR-eg5V-Ki4w-Zf0pwh
LV Write Access read/write
LV Status available
# open 1
LV Size 5,12 GB
Current LE 164
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID dyi31m-U6qv-zUzE-nvGd-P2zd-KZ2r-I6Ec7d
LV Write Access read/write
LV Status available
# open 1
LV Size 926,28 GB
Current LE 29641
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID I3mQHd-xjr1-FUqD-c9xR-eg5V-Ki4w-Zf0pwh
LV Write Access read/write
LV Status available
# open 1
LV Size 5,12 GB
Current LE 164
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
4. setelah tau lokasi folder lvm lakukan mounting.
mount /dev/VolGroup00/LogVol00 /mnt/tmp
hasil mounting bisa cek di folder /mnt/tmp
Comments