Skip to main content
update 2 lvscan info
Source Link
Gr4cchus
  • 89
  • 1
  • 4

Update #2

So i went and cat /etc/lvm/backup/fedora with this output

# Generated by LVM2 version 2.02.111(2) (2014-09-01): Wed Feb 11 11:45:07 2015
 
contents = "Text Format Volume Group"
version = 1
 
description = "Created *after* executing 'pvscan --cache --activate ay 8:5'"
 
creation_host = "localhost"     # Linux localhost 3.17.4-301.fc21.x86_64 #1 SMP Thu Nov 27 19:09:10 UTC 2014 x86_64
creation_time = 1423673107      # Wed Feb 11 11:45:07 2015
 
fedora {
        id = "5oQmMp-dekm-xr3i-KTRf-999c-HSgj-BArhBv"
        seqno = 10
        format = "lvm2"                 # informational
        status = ["RESIZEABLE", "READ", "WRITE"]
        flags = []
        extent_size = 8192              # 4 Megabytes
        max_lv = 0
        max_pv = 0
        metadata_copies = 0
 
        physical_volumes {
 
                pv0 {
                        id = "nhdO9N-249J-6m50-OFY0-Lzfe-iQht-5SuIku"
                        device = "/dev/sda5"    # Hint only
 
                        status = ["ALLOCATABLE"]
                        flags = []
                        dev_size = 159686656    # 76.1445 Gigabytes
                        pe_start = 2048
                        pe_count = 19493        # 76.1445 Gigabytes
                }
        }
 
}

Theres no logical volumes which im assuming is why lvscan will not find anything? Which i am not sure is a good or bad thing because looking at sample of someone elses holds lv_swap and lv_root and im after documents in my home directory which i am assuming fedora partitioner separates as i recall having to deal with something like /dev/fedora/home?

Update #2

So i went and cat /etc/lvm/backup/fedora with this output

# Generated by LVM2 version 2.02.111(2) (2014-09-01): Wed Feb 11 11:45:07 2015
 
contents = "Text Format Volume Group"
version = 1
 
description = "Created *after* executing 'pvscan --cache --activate ay 8:5'"
 
creation_host = "localhost"     # Linux localhost 3.17.4-301.fc21.x86_64 #1 SMP Thu Nov 27 19:09:10 UTC 2014 x86_64
creation_time = 1423673107      # Wed Feb 11 11:45:07 2015
 
fedora {
        id = "5oQmMp-dekm-xr3i-KTRf-999c-HSgj-BArhBv"
        seqno = 10
        format = "lvm2"                 # informational
        status = ["RESIZEABLE", "READ", "WRITE"]
        flags = []
        extent_size = 8192              # 4 Megabytes
        max_lv = 0
        max_pv = 0
        metadata_copies = 0
 
        physical_volumes {
 
                pv0 {
                        id = "nhdO9N-249J-6m50-OFY0-Lzfe-iQht-5SuIku"
                        device = "/dev/sda5"    # Hint only
 
                        status = ["ALLOCATABLE"]
                        flags = []
                        dev_size = 159686656    # 76.1445 Gigabytes
                        pe_start = 2048
                        pe_count = 19493        # 76.1445 Gigabytes
                }
        }
 
}

Theres no logical volumes which im assuming is why lvscan will not find anything? Which i am not sure is a good or bad thing because looking at sample of someone elses holds lv_swap and lv_root and im after documents in my home directory which i am assuming fedora partitioner separates as i recall having to deal with something like /dev/fedora/home?

lvscan update
Source Link
Gr4cchus
  • 89
  • 1
  • 4

Nothing was found in the /dev/mapper except control, live-base, live-osimg-min, live-rw. And a lvscan will output nothing.

Nothing was found in the /dev/mapper except control, live-base, live-osimg-min, live-rw.

Nothing was found in the /dev/mapper except control, live-base, live-osimg-min, live-rw. And a lvscan will output nothing.

updated
Source Link
Gr4cchus
  • 89
  • 1
  • 4

To keep the story short, i am taking the easy way out and now trying to mount a partition to recover a few text documents. I tried to 'sudo mount -t ext4 /dev/sda4 /mnt' but received this error !(http://imgur.com/U2WHSPb)

sudo mount -t ext4 /dev/sda4 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sda4,
       missing codepage or helper program, or other error

I'm new to linux too so you may have to speak english :).

Update

This is the output of attempting to pvscan, vgscan,pvs, and sfdisk -l /dev/sda

lvm> pvscan
  PV /dev/sda5   VG fedora   lvm2 [76.14 GiB / 76.14 GiB free]
  Total: 1 [76.14 GiB] / in use: 1 [76.14 GiB] / in no VG: 0 [0   ]
lvm> lvdisplay
lvm> vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "fedora" using metadata type lvm2
lvm> pvs
  PV         VG     Fmt  Attr PSize  PFree
  /dev/sda5  fedora lvm2 a--  76.14g 76.14g
 
sudo /sbin/sfdisk -l /dev/sda
 
Disk /dev/sda: 30401 cylinders, 255 heads, 63 sectors/track
sfdisk: Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units: cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
 
   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1          0       -       0          0    0  Empty
/dev/sda2          0       -       0          0    0  Empty
/dev/sda3   *  20397+  20461-     64-    512000   83  Linux
/dev/sda4      20461+  30401-   9941-  79845376    5  Extended
/dev/sda5      20461+  30401-   9941-  79844352   8e  Linux LVM

Nothing was found in the /dev/mapper except control, live-base, live-osimg-min, live-rw.

To keep the story short, i am taking the easy way out and now trying to mount a partition to recover a few text documents. I tried to 'sudo mount -t ext4 /dev/sda4 /mnt' but received this error !(http://imgur.com/U2WHSPb)

I'm new to linux too so you may have to speak english :).

To keep the story short, i am taking the easy way out and now trying to mount a partition to recover a few text documents. I tried to 'sudo mount -t ext4 /dev/sda4 /mnt' but received this error

sudo mount -t ext4 /dev/sda4 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sda4,
       missing codepage or helper program, or other error

I'm new to linux too so you may have to speak english :).

Update

This is the output of attempting to pvscan, vgscan,pvs, and sfdisk -l /dev/sda

lvm> pvscan
  PV /dev/sda5   VG fedora   lvm2 [76.14 GiB / 76.14 GiB free]
  Total: 1 [76.14 GiB] / in use: 1 [76.14 GiB] / in no VG: 0 [0   ]
lvm> lvdisplay
lvm> vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "fedora" using metadata type lvm2
lvm> pvs
  PV         VG     Fmt  Attr PSize  PFree
  /dev/sda5  fedora lvm2 a--  76.14g 76.14g
 
sudo /sbin/sfdisk -l /dev/sda
 
Disk /dev/sda: 30401 cylinders, 255 heads, 63 sectors/track
sfdisk: Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units: cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
 
   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1          0       -       0          0    0  Empty
/dev/sda2          0       -       0          0    0  Empty
/dev/sda3   *  20397+  20461-     64-    512000   83  Linux
/dev/sda4      20461+  30401-   9941-  79845376    5  Extended
/dev/sda5      20461+  30401-   9941-  79844352   8e  Linux LVM

Nothing was found in the /dev/mapper except control, live-base, live-osimg-min, live-rw.

Source Link
Gr4cchus
  • 89
  • 1
  • 4
Loading