在Linux下手動mount LVM partition

This item was filled under [ Linux, Linux Command ]

我用的是rescue cd並插上一隻含有LVM partition的硬碟,rescue cd可以從這裡下載。

1. 開機並boot入rescue cd

2. 用fdisk -l 看看是否已插上硬碟和辨認出LVM partition

mountlvm 01 300x101 在Linux下手動mount LVM partition

3. 用pvscan讓系統去掃瞄已存在的physical volume

mountlvm 02 300x26 在Linux下手動mount LVM partition

4. 從上圖,我看到一個已存在的Volume Group 叫vgdisk。用vgchange -ay vgdisk active它

mountlvm 03 300x20 在Linux下手動mount LVM partition

這樣,在/dev/底下就會出現一個叫vgdisk的資料夾

mountlvm 05 300x24 在Linux下手動mount LVM partition

5. 用vgdisplay 和 lvdisplay就可以看到那些LVM partition

mountlvm 04 300x199 在Linux下手動mount LVM partition

mountlvm 06 300x135 在Linux下手動mount LVM partition

6. 然後按照平時的方法,在/mnt新增一個資料夾,再把它mount就可以

mountlvm 07 300x82 在Linux下手動mount LVM partition

Bookmark and Share

Random Posts

Popularity: 158 views
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Comment