-
About detect and mount extend/LVM partitions
Hi folks,
My HD has extend partition and LVM. Is there any way to detect and mount them.
# fdisk -l
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 31 248976 83 Linux
/dev/sda2 32 19457 156039345 5 Extended
/dev/sda5 32 19457 156039313+ 8e Linux LVM
sda1 is mounted automatically with its icon displayed on desktop.
# ls -al /media/sda1
Code:
total 10410
drwxr-xr-x 4 root root 1024 Jul 24 10:21 .
drwxr-xr-x 6 root root 1024 Aug 29 06:14 ..
-rw-r--r-- 1 root root 1033449 Apr 15 02:28 System.map-2.6.20-15-generic
-rw-r--r-- 1 root root 407099 Apr 15 02:28 abi-2.6.20-15-generic
-rw-r--r-- 1 root root 75349 Apr 15 01:02 config-2.6.20-15-generic
drwxr-xr-x 2 root root 1024 Jul 24 10:22 grub
-rw-r--r-- 1 root root 7255399 Jul 24 10:21 initrd.img-2.6.20-15-generic
drwx------ 2 root root 12288 Jul 24 10:13 lost+found
-rw-r--r-- 1 root root 94600 Oct 20 2006 memtest86+.bin
-rw-r--r-- 1 root root 1726608 Apr 15 02:28 vmlinuz-2.6.20-15-generic
# ls /media/
Code:
cdrom0 floppy0 sda1 sda5
sda5 seems mounted as well.
# ls -al /media/sda5
Code:
total 2
drwxr-xr-x 2 root root 1024 Aug 29 06:14 .
drwxr-xr-x 6 root root 1024 Aug 29 06:14 ..
But nothing found on it.
Advice would be appreciated. TIA
B.R.
satimis
-
It is probably not an issue anymore, so it is just for posterity.
I found good answer at: http://www.linuxquestions.org/questi...noppix-471366/
Here is summary how to mount LVM disks:
knoppix# vgscan --mknodes
Reading all physical volumes. This may take a while...
Found volume group "system" using metadata type lvm2
# vgchange -ay
3 logical volume(s) in volume group "system" now active
# lvscan
ACTIVE '/dev/system/home' [20.00 GB] inherit
ACTIVE '/dev/system/root' [15.00 GB] inherit
ACTIVE '/dev/system/swap' [2.00 GB] inherit
# mkdir -p /mnt/root /mnt/home
# mount /dev/system/root /mnt/root
# mount /dev/system/home /mnt/home
More about LVM is on:
http://www.ibiblio.org/pub/Linux/doc...LVM-HOWTO.html
Hope it helps to the next person.
Similar Threads
-
By redhawk in forum Hardware & Booting
Replies: 0
Last Post: 08-20-2006, 12:35 PM
-
By wilson001 in forum Hardware & Booting
Replies: 4
Last Post: 12-21-2004, 11:17 PM
-
By Blisset in forum Hardware & Booting
Replies: 4
Last Post: 09-17-2004, 06:50 PM
-
By jackren in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 03-24-2004, 02:03 PM
-
By bongski55 in forum General Support
Replies: 2
Last Post: 09-10-2003, 03:35 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

HPE DL360 G10 CTO Server W/ 2x800W 1x LP PCIE RISER 1xFLEXROM 2XHIGH PERF FANS
$200.00

MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed
$136.87

Windows Server 2025 Standard Edition - 24 Core License
$238.00

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w
$538.88

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$484.99

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w
$499.88

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots
$745.00

Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY
$44.54

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99