Results 1 to 2 of 2

Thread: About detect and mount extend/LVM partitions

  1. #1
    Member registered user
    Join Date
    Jun 2003
    Location
    Hong Kong
    Posts
    49

    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

  2. #2
    Junior Member
    Join Date
    Apr 2008
    Posts
    1
    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

  1. cannot mount partitions??
    By redhawk in forum Hardware & Booting
    Replies: 0
    Last Post: 08-20-2006, 12:35 PM
  2. Problem detect/mount dvd drive force to switch back to WinXP
    By wilson001 in forum Hardware & Booting
    Replies: 4
    Last Post: 12-21-2004, 11:17 PM
  3. Can I mount a 2nd hard disk if BIOS can't detect it?
    By Blisset in forum Hardware & Booting
    Replies: 4
    Last Post: 09-17-2004, 06:50 PM
  4. partitions don't mount
    By jackren in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 03-24-2004, 02:03 PM
  5. Latest Version Won't Detect HD Partitions
    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
  •  


Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w

$174.95



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays

$259.99



Dell PowerEdge R710 Server 2x Xeon E5620 2.4GHz 96GB DDR3 Rackmount picture

Dell PowerEdge R710 Server 2x Xeon E5620 2.4GHz 96GB DDR3 Rackmount

$139.99



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays

$349.99



Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w

$359.99



Dell PowerEdge R640  8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU picture

Dell PowerEdge R640 8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU

$315.00



Dell PowerEdge R730XD 24B Barebones 2x Heatsinks 2x PSU No CPU/RAM/Raid/Nic picture

Dell PowerEdge R730XD 24B Barebones 2x Heatsinks 2x PSU No CPU/RAM/Raid/Nic

$149.99



Dell R640 Diskless Servers 2x Gold 18-Cores 6254 3.10GHz CPU, 32gb RAM, No Raid picture

Dell R640 Diskless Servers 2x Gold 18-Cores 6254 3.10GHz CPU, 32gb RAM, No Raid

$699.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99