วิธีทำ
1.
เปิด
Terminal
ใช้คำสั่ง
vgdisplay
ตรวจสอบ
Disk
volume
termcb:~
# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 27.84 GB
PE Size 32.00 MB
Total PE 891
Alloc PE / Size 890 / 27.81 GB
Free PE / Size 1 / 32.00 MB
VG UUID ryYRi4-mXOd-XFaW-4xnR-h1cl-hphh-5QQnlM
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 27.84 GB
PE Size 32.00 MB
Total PE 891
Alloc PE / Size 890 / 27.81 GB
Free PE / Size 1 / 32.00 MB
VG UUID ryYRi4-mXOd-XFaW-4xnR-h1cl-hphh-5QQnlM
2.
ใช้คำสั่ง
lvscan
เช็คสถานะ
Hard
disk
termcb:~
# lvscan
inactive '/dev/VolGroup00/LogVol00' [26.06 GB] inherit
inactive '/dev/VolGroup00/LogVol01' [1.75 GB] inherit
inactive '/dev/VolGroup00/LogVol00' [26.06 GB] inherit
inactive '/dev/VolGroup00/LogVol01' [1.75 GB] inherit
3.
ใช้คำสั่ง
ก่อน Mount
disk
modprobe
dm-mod
vgchange
-ay
4.
ใช้คำสั่งในข้อ
2.
เช็คสถาน
Hard
disk อีกครั้ง
จะพบว่า Disk
Active
termcb:~
# lvscan
ACTIVE '/dev/VolGroup00/LogVol00' [26.06 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [1.75 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol00' [26.06 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [1.75 GB] inherit
5.
Mount hard disk เพื่อใช้งาน
mount
/dev/VolGroup00/LogVol00 /mount/point
Ref:
http://pissedoffadmins.com/os/mount-unknown-filesystem-type-lvm2_member.html
No comments:
Post a Comment