Storage array keyboard.

Rescuing a Linux System with an LVM Root File System

Logical Volumes and Red Hat Installations

Red Hat's installation program prefers to use logical volumes. If you tell the installer to use all the available disks and set up the storage automatically, you will get the following:

The first disk will have three partitions, /dev/sda1 of type EFI, /dev/sda2 of type Linux Native, /dev/sda3 of type LVM. The first partition, /dev/sda1, will be quite small and will contain a FAT file system. The second partition, /dev/sda2, will be almost as small and will contain an Ext4fs file system. Boot loaders can read file systems but they can't handle logical volumes, so you need a file system to store the kernel and the initial RAM disk image. This doesn't need to be large in Red Hat's world because they don't want you building kernels. All the other disks will have one partition each of type Linux LVM.

An Example Automatically Created LVM System

Here is an example system with three disks. VMware is providing three 6 GB IDE disk images and 1 GB of RAM. Some of the virtualized disk details have been removed from the fdisk output:

Disks and Partitions

[root@server ~]# ls -l /dev/sd*
brw-rw----. 1 root disk 8,  0 Nov 20 09:36 /dev/sda
brw-rw----. 1 root disk 8,  1 Nov 20 09:36 /dev/sda1
brw-rw----. 1 root disk 8,  2 Nov 20 09:36 /dev/sda2
brw-rw----. 1 root disk 8,  3 Nov 20 09:36 /dev/sda3
brw-rw----. 1 root disk 8, 16 Nov 20 09:36 /dev/sdb
brw-rw----. 1 root disk 8, 17 Nov 20 09:36 /dev/sdb1
brw-rw----. 1 root disk 8, 32 Nov 20 09:36 /dev/sdc
brw-rw----. 1 root disk 8, 33 Nov 20 09:36 /dev/sdc1
[root@server ~]# fdisk -l /dev/sd?

Disk /dev/sda: 6442 MB, 6442450944 bytes
Disk identifier: 0x0000613a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          32      256000   ef  EFI
/dev/sda2              33          96      512000   83  Linux filesystem
/dev/sda2              97         784     5778432   8e  Linux LVM

Disk /dev/sdb: 6442 MB, 6442450944 bytes
Disk identifier: 0x000383b1

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         784     6290432   8e  Linux LVM

Disk /dev/sdc: 6442 MB, 6442450944 bytes
Disk identifier: 0x00068690

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         784     6290432   8e  Linux LVM

Physical Volumes and the Volume Group

All of the LVM devices have been initialized as LVM physical volumes and one volume group has been created from them. The hostname, server in this case, has been used in the volume group name.

[root@server ~]# pvscan
  PV /dev/sda3   VG vg_server   lvm2 [5.51 GiB / 0    free]
  PV /dev/sdb1   VG vg_server   lvm2 [6.00 GiB / 0    free]
  PV /dev/sdc1   VG vg_server   lvm2 [6.00 GiB / 0    free]
  Total: 3 [17.50 GiB] / in use: 3 [17.50 GiB] / in no VG: 0 [0   ]
[root@server ~]# vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "vg_server" using metadata type lvm2

You can instead use the pvdisplay and vgdisplay commands for more detail on these physical volumes and volume group.

Two logical volumes have been created from this volume group, named lv_swap and lv_root. The first of these will contain a swap partition, and will be scaled depending on the amount of RAM detected during the installation. The second logical volume, lv_root, will use all the remaining space.

That one enormous root file system makes it easy to expand storage later. Add more disks, make them physical volumes with pvcreate, then extend the volume group with vgextend, extend the root_lv logical volume with lvextend, and grow the file system with resize2fs.

You can either use the entire new disk itself as a physical volume, or you can create one full partition on it using fdisk and selecting partition type 8e for Linux LVM. Simply using the disk will be familiar to those coming from enterprise UNIX settings like Solaris, AIX, and so on. Creating IBM partition tables is something familiar from the IBM PC hardware environment.

The technology supports either approach.

The argument that I have heard for creating partitions is that a system administrator might not understand what is happening and assume that a disk without an IBM partition table contains no data and is free for other uses.

But that means that it doesn't occur to them to use the file -s command to ask what is in that device special file, or to try the pvscan command to see what is already in use with LVM. It seems to me that if you insist on creating the partitions to handle this situation, you are conceding that your system administrators don't know what they are doing. Solve the real problem instead of hoping to avoid it!

Improving File System Security
Security can be improved by splitting the storage into multiple file systems and mounting some of them in more cautious modes. These changes make it harder for an intruder to elevate their privileges. See my page on cautious file system design and use for the details on how to make those improvements.

Logical Volumes, the Device Mapper and File Systems

Here we investigate the logical volumes, what the device mapper is doing, and the mounted file systems and swap area:

[root@server ~]# lvscan
  ACTIVE            '/dev/vg_server/lv_root' [15.53 GiB] inherit
  ACTIVE            '/dev/vg_server/lv_swap' [1.97 GiB] inherit
[root@server ~]# ls -l /dev/vg_server
total 0
lrwxrwxrwx. 1 root root 7 Nov 20 09:36 lv_root -> ../dm-0
lrwxrwxrwx. 1 root root 7 Nov 20 09:36 lv_swap -> ../dm-1
[root@server ~]# ls -l /dev/mapper/
total 0
crw-rw----. 1 root root 10, 58 Nov 20 09:36 control
lrwxrwxrwx. 1 root root      7 Nov 20 09:36 vg_server-lv_root -> ../dm-0
lrwxrwxrwx. 1 root root      7 Nov 20 09:36 vg_server-lv_swap -> ../dm-1
[root@server ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_server-lv_root
                       16G  4.4G   11G  30% /
tmpfs                 499M  420K  499M   1% /dev/shm
/dev/sda1             242M    8M  234M   1% /boot/efi
/dev/sda2             485M   30M  430M   7% /boot
[root@server ~]# swapon -s
Filename                                Type            Size    Used    Priority
/dev/dm-1                               partition       2064376 872     -1
[root@server ~]# cat /etc/fstab 

#
# /etc/fstab
# Created by anaconda
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_server-lv_root /                   ext4    defaults        1 1
UUID=3f4183a2-3485-4642-9fd7-afb1d66eead2 /boot   ext4    defaults        1 2
UUID=F9B0-7534            /boot/efi               vfat    defaults        1 2
/dev/mapper/vg_server-lv_swap swap                swap    defaults        0 0
tmpfs                     /dev/shm                tmpfs   defaults        0 0
devpts                    /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                     /sys                    sysfs   defaults        0 0
proc                      /proc                   proc    defaults        0 0

In this version of RHEL, the installer uses the LVM device name for the / file system and swap device, and the embedded UUID for the /boot file system.

The Rescue Problem to be Solved

I was showing someone how to rescue a system by booting from media. We had installed the system into multiple file systems on dedicated partitions, no LVM. They asked how the rescue booting would work if the root file system was on LVM.

Someone overheard us and said "Wait, sometimes it's far worse." Is it ever, in their scenario! Here's what we came up with as a problem to solve:

The system's root file system is on LVM spread across three disks.

The system has been configured so that you must know the root password to boot to single-user mode or otherwise get into run level 1 for maintenance.

However, the system has not been used in some time and some former staff members have left. You no longer know what the root password is.

The system has also been configured so that you cannot break in by specifying an altenative to /sbin/init.

It is suspected that some boot script or critical configuration file has been corrupted or lost. Perhaps most of /etc/lvm, where we would expect to find the meta-data about the LVM devices.

All the disks were removed from the system and stored in a box. The box is labeled, and you know that it contains all of the disks. But the disks themselves were not labeled. You do not know which was disk #1, #2 and #3.

Wow. Anything else? Shall we set the disks on fire? Throw them down the stairwell? No, the above is plenty of trouble, and a worryingly realistic scenario.

The good news is that you can install that box of mystery disks in a system, boot from rescue media, and recover data from the file system. Let's start by looking at how GRUB can boot a clean system to an LVM root file system.

GRUB and Booting to an LVM Root File System

The below is the GRUB configuration file created when you let Red Hat's installer make its own choices. The enormously long kernel line has been broken here for display.

[root@server ~]# more /boot/grub/menu.lst 
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/mapper/vg_server-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux (2.6.32-71.el6.x86_64)
	root (hd0,0)
	kernel /vmlinuz-2.6.32-71.el6.x86_64				\
			ro root=/dev/mapper/vg_server-lv_root		\
			rd_LVM_LV=vg_server/lv_root			\
			rd_LVM_LV=vg_server/lv_swap			\
			rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8	\
			SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc	\
			KEYTABLE=us crashkernel=auto rhgb quiet
	initrd /initramfs-2.6.32-71.el6.x86_64.img

GRUB cannot handle logical volumes, so /boot will be a small file system containing a "stage 1.5" module to handle that file system data structure, the main "stage 2" GRUB program, the above configuration file, and the referenced kernel and initial RAM disk image. The GRUB boot loader will find and load that kernel and disk image into RAM, and start the kernel while passing it that long list of parameters.

Notice that the root file system is specified as something that the kernel's device mapper should find. The kernel is also told about two logical volumes it should find, one of which is that one with the root file system.

Clearly, the kernel must be able to find these things on its own without reading any further configuration details, as they would be stored within the logical volume.

The above is the configuration file on the functioning system. However, that system will not boot on its own. We will boot the system from a DVD with a suitable rescue kernel and file system image. Something like Knoppix or maybe a CentOS live DVD. The rescue media will not have any information about how to find the logical volumes; it will not even know to expect them to exist.

How the Kernel Auto-Detects LVM File Systems

The BIOS finds the bootable media in the DVD drive, and its boot loader gets the kernel off the DVD into RAM and starts it. That kernel detects the disks, all of which are there although they are connected in some random order.

The disks are discovered and device-special files appear — /dev/sda, /dev/sdb and /dev/sdc. The kernel reads the first 512-byte block of each, where it may discover either a traditional IBM partition table or the more modern disk label holding a GPT or GUID Partition Table. If so, devices for the partitions appear — maybe /dev/sdb1 and /dev/sdb2, and the kernel reads the first 512-byte block of each of those.

Now, we know that /etc/lvm normally contains the meta-data about the LVM physical volumes, volume groups and logical volumes. However, that meta-data is in the file system we are trying to find, making this a chicken-and-egg problem. Plus, we suspect that that very meta-data itself has been lost or corrupted.

The kernel can still rescue the file system, because meta-data is stored in the LVM devices.

In this example scenario, it looks as though the disk currently connected as #2 was originally disk #1, and its first partition is probably a small one containing the (possibly corrupted) original /boot. The other two disks had no partition tables or disk labels, so each was simply used in its entirety as an LVM physical volume. Maybe a Red Hat install onto one disk, later followed by manual addition of two more disks.

Below is a partial hex dump of a disk partition which is part of a logical volume. Note that after the first 0x200 (that is, 512) bytes we find an LVM2 header. Just by looking through this you can see that this partition was one of three physical volumes making up a volume group named vg_server from which a logical volume named lv_root was created, and that it was created on a system running kernel 2.6.32-71.el6.x86_64.

The kernel reads this information, and its LVM and device mapper modules create a device-special file /dev/dm-0 to which symbolic links with the original names point: /dev/mapper/vg_server-lv_root and /dev/vg_server/lv_root

[root@server ~]# hexdump -C /dev/sdb2
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200  4c 41 42 45 4c 4f 4e 45  01 00 00 00 00 00 00 00  |LABELONE........|
00000210  fe b5 f2 9a 20 00 00 00  4c 56 4d 32 20 30 30 31  |.... ...LVM2 001|
00000220  42 32 42 4e 66 78 44 54  41 79 55 67 57 65 77 41  |B2BNfxDTAyUgWewA|
00000230  70 4e 32 42 57 4e 4f 64  52 36 6e 74 55 6f 44 4d  |pN2BWNOdR6ntUoDM|
00000240  00 00 f0 7f 01 00 00 00  00 00 10 00 00 00 00 00  |................|
00000250  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 10 00 00 00 00 00 00  |................|
00000270  00 f0 0f 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00001000  69 ad d3 c6 20 4c 56 4d  32 20 78 5b 35 41 25 72  |i... LVM2 x[5A%r|
00001010  30 4e 2a 3e 01 00 00 00  00 10 00 00 00 00 00 00  |0N*>............|
00001020  00 f0 0f 00 00 00 00 00  00 10 00 00 00 00 00 00  |................|
00001030  fe 06 00 00 00 00 00 00  4b ae 3d 19 00 00 00 00  |........K.=.....|
00001040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00001200  76 67 5f 73 65 72 76 65  72 20 7b 0a 69 64 20 3d  |vg_server {.id =|
00001210  20 22 32 64 49 75 36 58  2d 46 69 73 50 2d 35 36  | "2dIu6X-FisP-56|
00001220  32 66 2d 32 6c 36 7a 2d  55 4b 4a 31 2d 65 6e 43  |2f-2l6z-UKJ1-enC|
00001230  62 2d 6f 42 4e 6e 73 4f  22 0a 73 65 71 6e 6f 20  |b-oBNnsO".seqno |
00001240  3d 20 31 0a 73 74 61 74  75 73 20 3d 20 5b 22 52  |= 1.status = ["R|
00001250  45 53 49 5a 45 41 42 4c  45 22 2c 20 22 52 45 41  |ESIZEABLE", "REA|
00001260  44 22 2c 20 22 57 52 49  54 45 22 5d 0a 66 6c 61  |D", "WRITE"].fla|
00001270  67 73 20 3d 20 5b 5d 0a  65 78 74 65 6e 74 5f 73  |gs = [].extent_s|
00001280  69 7a 65 20 3d 20 38 31  39 32 0a 6d 61 78 5f 6c  |ize = 8192.max_l|
00001290  76 20 3d 20 30 0a 6d 61  78 5f 70 76 20 3d 20 30  |v = 0.max_pv = 0|
000012a0  0a 6d 65 74 61 64 61 74  61 5f 63 6f 70 69 65 73  |.metadata_copies|
000012b0  20 3d 20 30 0a 0a 70 68  79 73 69 63 61 6c 5f 76  | = 0..physical_v|
000012c0  6f 6c 75 6d 65 73 20 7b  0a 0a 70 76 30 20 7b 0a  |olumes {..pv0 {.|
000012d0  69 64 20 3d 20 22 42 43  65 72 7a 75 2d 36 79 4b  |id = "BCerzu-6yK|
000012e0  7a 2d 7a 6c 32 78 2d 44  64 6c 50 2d 52 43 32 57  |z-zl2x-DdlP-RC2W|
000012f0  2d 30 31 4d 6b 2d 4b 31  6a 32 44 5a 22 0a 64 65  |-01Mk-K1j2DZ".de|
00001300  76 69 63 65 20 3d 20 22  2f 64 65 76 2f 73 64 61  |vice = "/dev/sda|
00001310  32 22 0a 0a 73 74 61 74  75 73 20 3d 20 5b 22 41  |2"..status = ["A|
00001320  4c 4c 4f 43 41 54 41 42  4c 45 22 5d 0a 66 6c 61  |LLOCATABLE"].fla|
00001330  67 73 20 3d 20 5b 5d 0a  64 65 76 5f 73 69 7a 65  |gs = [].dev_size|
00001340  20 3d 20 31 31 35 35 36  38 36 34 0a 70 65 5f 73  | = 11556864.pe_s|
00001350  74 61 72 74 20 3d 20 32  30 34 38 0a 70 65 5f 63  |tart = 2048.pe_c|
00001360  6f 75 6e 74 20 3d 20 31  34 31 30 0a 7d 0a 0a 70  |ount = 1410.}..p|
00001370  76 31 20 7b 0a 69 64 20  3d 20 22 42 32 42 4e 66  |v1 {.id = "B2BNf|
00001380  78 2d 44 54 41 79 2d 55  67 57 65 2d 77 41 70 4e  |x-DTAy-UgWe-wApN|
00001390  2d 32 42 57 4e 2d 4f 64  52 36 2d 6e 74 55 6f 44  |-2BWN-OdR6-ntUoD|
000013a0  4d 22 0a 64 65 76 69 63  65 20 3d 20 22 2f 64 65  |M".device = "/de|
000013b0  76 2f 73 64 62 31 22 0a  0a 73 74 61 74 75 73 20  |v/sdb1"..status |
000013c0  3d 20 5b 22 41 4c 4c 4f  43 41 54 41 42 4c 45 22  |= ["ALLOCATABLE"|
000013d0  5d 0a 66 6c 61 67 73 20  3d 20 5b 5d 0a 64 65 76  |].flags = [].dev|
000013e0  5f 73 69 7a 65 20 3d 20  31 32 35 38 30 38 36 34  |_size = 12580864|
000013f0  0a 70 65 5f 73 74 61 72  74 20 3d 20 32 30 34 38  |.pe_start = 2048|
00001400  0a 70 65 5f 63 6f 75 6e  74 20 3d 20 31 35 33 35  |.pe_count = 1535|
00001410  0a 7d 0a 0a 70 76 32 20  7b 0a 69 64 20 3d 20 22  |.}..pv2 {.id = "|
00001420  7a 32 4d 4a 61 4d 2d 53  6c 66 56 2d 78 4e 6f 70  |z2MJaM-SlfV-xNop|
00001430  2d 71 66 57 6a 2d 4c 76  37 6d 2d 4e 30 42 70 2d  |-qfWj-Lv7m-N0Bp-|
00001440  74 33 6c 6f 4b 63 22 0a  64 65 76 69 63 65 20 3d  |t3loKc".device =|
00001450  20 22 2f 64 65 76 2f 73  64 63 31 22 0a 0a 73 74  | "/dev/sdc1"..st|
00001460  61 74 75 73 20 3d 20 5b  22 41 4c 4c 4f 43 41 54  |atus = ["ALLOCAT|
00001470  41 42 4c 45 22 5d 0a 66  6c 61 67 73 20 3d 20 5b  |ABLE"].flags = [|
00001480  5d 0a 64 65 76 5f 73 69  7a 65 20 3d 20 31 32 35  |].dev_size = 125|
00001490  38 30 38 36 34 0a 70 65  5f 73 74 61 72 74 20 3d  |80864.pe_start =|
000014a0  20 32 30 34 38 0a 70 65  5f 63 6f 75 6e 74 20 3d  | 2048.pe_count =|
000014b0  20 31 35 33 35 0a 7d 0a  7d 0a 0a 7d 0a 23 20 47  | 1535.}.}..}.# G|
000014c0  65 6e 65 72 61 74 65 64  20 62 79 20 4c 56 4d 32  |enerated by LVM2|
000014d0  20 76 65 72 73 69 6f 6e  20 32 2e 30 32 2e 37 32  | version 2.02.72|
000014e0  28 32 29 20 28 32 30 31  30 2d 30 37 2d 32 38 29  |(2) (2010-07-28)|
000014f0  3a 20 4d 6f 6e 20 4e 6f  76 20 31 39 20 31 35 3a  |: Mon Nov 19 15:|
00001500  31 30 3a 35 39 20 32 30  31 32 0a 0a 63 6f 6e 74  |10:59 2012..cont|
00001510  65 6e 74 73 20 3d 20 22  54 65 78 74 20 46 6f 72  |ents = "Text For|
00001520  6d 61 74 20 56 6f 6c 75  6d 65 20 47 72 6f 75 70  |mat Volume Group|
00001530  22 0a 76 65 72 73 69 6f  6e 20 3d 20 31 0a 0a 64  |".version = 1..d|
00001540  65 73 63 72 69 70 74 69  6f 6e 20 3d 20 22 22 0a  |escription = "".|
00001550  0a 63 72 65 61 74 69 6f  6e 5f 68 6f 73 74 20 3d  |.creation_host =|
00001560  20 22 6c 6f 63 61 6c 68  6f 73 74 2e 6c 6f 63 61  | "localhost.loca|
00001570  6c 64 6f 6d 61 69 6e 22  09 23 20 4c 69 6e 75 78  |ldomain".# Linux|
00001580  20 6c 6f 63 61 6c 68 6f  73 74 2e 6c 6f 63 61 6c  | localhost.local|
00001590  64 6f 6d 61 69 6e 20 32  2e 36 2e 33 32 2d 37 31  |domain 2.6.32-71|
000015a0  2e 65 6c 36 2e 78 38 36  5f 36 34 20 23 31 20 53  |.el6.x86_64 #1 S|
000015b0  4d 50 20 57 65 64 20 53  65 70 20 31 20 30 31 3a  |MP Wed Sep 1 01:|
000015c0  33 33 3a 30 31 20 45 44  54 20 32 30 31 30 20 78  |33:01 EDT 2010 x|
000015d0  38 36 5f 36 34 0a 63 72  65 61 74 69 6f 6e 5f 74  |86_64.creation_t|
000015e0  69 6d 65 20 3d 20 31 33  35 33 33 35 35 38 35 39  |ime = 1353355859|
000015f0  09 23 20 4d 6f 6e 20 4e  6f 76 20 31 39 20 31 35  |.# Mon Nov 19 15|
00001600  3a 31 30 3a 35 39 20 32  30 31 32 0a 0a 00 00 00  |:10:59 2012.....|
00001610  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00001800  76 67 5f 73 65 72 76 65  72 20 7b 0a 69 64 20 3d  |vg_server {.id =|
00001810  20 22 32 64 49 75 36 58  2d 46 69 73 50 2d 35 36  | "2dIu6X-FisP-56|
00001820  32 66 2d 32 6c 36 7a 2d  55 4b 4a 31 2d 65 6e 43  |2f-2l6z-UKJ1-enC|
00001830  62 2d 6f 42 4e 6e 73 4f  22 0a 73 65 71 6e 6f 20  |b-oBNnsO".seqno |
00001840  3d 20 32 0a 73 74 61 74  75 73 20 3d 20 5b 22 52  |= 2.status = ["R|
00001850  45 53 49 5a 45 41 42 4c  45 22 2c 20 22 52 45 41  |ESIZEABLE", "REA|
00001860  44 22 2c 20 22 57 52 49  54 45 22 5d 0a 66 6c 61  |D", "WRITE"].fla|
00001870  67 73 20 3d 20 5b 5d 0a  65 78 74 65 6e 74 5f 73  |gs = [].extent_s|
00001880  69 7a 65 20 3d 20 38 31  39 32 0a 6d 61 78 5f 6c  |ize = 8192.max_l|
00001890  76 20 3d 20 30 0a 6d 61  78 5f 70 76 20 3d 20 30  |v = 0.max_pv = 0|
000018a0  0a 6d 65 74 61 64 61 74  61 5f 63 6f 70 69 65 73  |.metadata_copies|
000018b0  20 3d 20 30 0a 0a 70 68  79 73 69 63 61 6c 5f 76  | = 0..physical_v|
000018c0  6f 6c 75 6d 65 73 20 7b  0a 0a 70 76 30 20 7b 0a  |olumes {..pv0 {.|
000018d0  69 64 20 3d 20 22 42 43  65 72 7a 75 2d 36 79 4b  |id = "BCerzu-6yK|
000018e0  7a 2d 7a 6c 32 78 2d 44  64 6c 50 2d 52 43 32 57  |z-zl2x-DdlP-RC2W|
000018f0  2d 30 31 4d 6b 2d 4b 31  6a 32 44 5a 22 0a 64 65  |-01Mk-K1j2DZ".de|
00001900  76 69 63 65 20 3d 20 22  2f 64 65 76 2f 73 64 61  |vice = "/dev/sda|
00001910  32 22 0a 0a 73 74 61 74  75 73 20 3d 20 5b 22 41  |2"..status = ["A|
00001920  4c 4c 4f 43 41 54 41 42  4c 45 22 5d 0a 66 6c 61  |LLOCATABLE"].fla|
00001930  67 73 20 3d 20 5b 5d 0a  64 65 76 5f 73 69 7a 65  |gs = [].dev_size|
00001940  20 3d 20 31 31 35 35 36  38 36 34 0a 70 65 5f 73  | = 11556864.pe_s|
00001950  74 61 72 74 20 3d 20 32  30 34 38 0a 70 65 5f 63  |tart = 2048.pe_c|
00001960  6f 75 6e 74 20 3d 20 31  34 31 30 0a 7d 0a 0a 70  |ount = 1410.}..p|
00001970  76 31 20 7b 0a 69 64 20  3d 20 22 42 32 42 4e 66  |v1 {.id = "B2BNf|
00001980  78 2d 44 54 41 79 2d 55  67 57 65 2d 77 41 70 4e  |x-DTAy-UgWe-wApN|
00001990  2d 32 42 57 4e 2d 4f 64  52 36 2d 6e 74 55 6f 44  |-2BWN-OdR6-ntUoD|
000019a0  4d 22 0a 64 65 76 69 63  65 20 3d 20 22 2f 64 65  |M".device = "/de|
000019b0  76 2f 73 64 62 31 22 0a  0a 73 74 61 74 75 73 20  |v/sdb1"..status |
000019c0  3d 20 5b 22 41 4c 4c 4f  43 41 54 41 42 4c 45 22  |= ["ALLOCATABLE"|
000019d0  5d 0a 66 6c 61 67 73 20  3d 20 5b 5d 0a 64 65 76  |].flags = [].dev|
000019e0  5f 73 69 7a 65 20 3d 20  31 32 35 38 30 38 36 34  |_size = 12580864|
000019f0  0a 70 65 5f 73 74 61 72  74 20 3d 20 32 30 34 38  |.pe_start = 2048|
00001a00  0a 70 65 5f 63 6f 75 6e  74 20 3d 20 31 35 33 35  |.pe_count = 1535|
00001a10  0a 7d 0a 0a 70 76 32 20  7b 0a 69 64 20 3d 20 22  |.}..pv2 {.id = "|
00001a20  7a 32 4d 4a 61 4d 2d 53  6c 66 56 2d 78 4e 6f 70  |z2MJaM-SlfV-xNop|
00001a30  2d 71 66 57 6a 2d 4c 76  37 6d 2d 4e 30 42 70 2d  |-qfWj-Lv7m-N0Bp-|
00001a40  74 33 6c 6f 4b 63 22 0a  64 65 76 69 63 65 20 3d  |t3loKc".device =|
00001a50  20 22 2f 64 65 76 2f 73  64 63 31 22 0a 0a 73 74  | "/dev/sdc1"..st|
00001a60  61 74 75 73 20 3d 20 5b  22 41 4c 4c 4f 43 41 54  |atus = ["ALLOCAT|
00001a70  41 42 4c 45 22 5d 0a 66  6c 61 67 73 20 3d 20 5b  |ABLE"].flags = [|
00001a80  5d 0a 64 65 76 5f 73 69  7a 65 20 3d 20 31 32 35  |].dev_size = 125|
00001a90  38 30 38 36 34 0a 70 65  5f 73 74 61 72 74 20 3d  |80864.pe_start =|
00001aa0  20 32 30 34 38 0a 70 65  5f 63 6f 75 6e 74 20 3d  | 2048.pe_count =|
00001ab0  20 31 35 33 35 0a 7d 0a  7d 0a 0a 6c 6f 67 69 63  | 1535.}.}..logic|
00001ac0  61 6c 5f 76 6f 6c 75 6d  65 73 20 7b 0a 0a 6c 76  |al_volumes {..lv|
00001ad0  5f 72 6f 6f 74 20 7b 0a  69 64 20 3d 20 22 4a 76  |_root {.id = "Jv|
00001ae0  31 78 6e 69 2d 6e 71 68  63 2d 51 51 4e 31 2d 55  |1xni-nqhc-QQN1-U|
00001af0  66 57 45 2d 67 31 58 69  2d 55 52 42 34 2d 44 77  |fWE-g1Xi-URB4-Dw|
00001b00  41 6c 38 67 22 0a 73 74  61 74 75 73 20 3d 20 5b  |Al8g".status = [|
00001b10  22 52 45 41 44 22 2c 20  22 57 52 49 54 45 22 2c  |"READ", "WRITE",|
00001b20  20 22 56 49 53 49 42 4c  45 22 5d 0a 66 6c 61 67  | "VISIBLE"].flag|
00001b30  73 20 3d 20 5b 5d 0a 73  65 67 6d 65 6e 74 5f 63  |s = [].segment_c|
00001b40  6f 75 6e 74 20 3d 20 33  0a 0a 73 65 67 6d 65 6e  |ount = 3..segmen|
00001b50  74 31 20 7b 0a 73 74 61  72 74 5f 65 78 74 65 6e  |t1 {.start_exten|
00001b60  74 20 3d 20 30 0a 65 78  74 65 6e 74 5f 63 6f 75  |t = 0.extent_cou|
00001b70  6e 74 20 3d 20 31 35 33  35 0a 0a 74 79 70 65 20  |nt = 1535..type |
00001b80  3d 20 22 73 74 72 69 70  65 64 22 0a 73 74 72 69  |= "striped".stri|
00001b90  70 65 5f 63 6f 75 6e 74  20 3d 20 31 09 23 20 6c  |pe_count = 1.# l|
00001ba0  69 6e 65 61 72 0a 0a 73  74 72 69 70 65 73 20 3d  |inear..stripes =|
00001bb0  20 5b 0a 22 70 76 31 22  2c 20 30 0a 5d 0a 7d 0a  | [."pv1", 0.].}.|
00001bc0  73 65 67 6d 65 6e 74 32  20 7b 0a 73 74 61 72 74  |segment2 {.start|
00001bd0  5f 65 78 74 65 6e 74 20  3d 20 31 35 33 35 0a 65  |_extent = 1535.e|
00001be0  78 74 65 6e 74 5f 63 6f  75 6e 74 20 3d 20 31 35  |xtent_count = 15|
00001bf0  33 35 0a 0a 74 79 70 65  20 3d 20 22 73 74 72 69  |35..type = "stri|
00001c00  70 65 64 22 0a 73 74 72  69 70 65 5f 63 6f 75 6e  |ped".stripe_coun|
00001c10  74 20 3d 20 31 09 23 20  6c 69 6e 65 61 72 0a 0a  |t = 1.# linear..|
00001c20  73 74 72 69 70 65 73 20  3d 20 5b 0a 22 70 76 32  |stripes = [."pv2|
00001c30  22 2c 20 30 0a 5d 0a 7d  0a 73 65 67 6d 65 6e 74  |", 0.].}.segment|
00001c40  33 20 7b 0a 73 74 61 72  74 5f 65 78 74 65 6e 74  |3 {.start_extent|
00001c50  20 3d 20 33 30 37 30 0a  65 78 74 65 6e 74 5f 63  | = 3070.extent_c|
00001c60  6f 75 6e 74 20 3d 20 39  30 36 0a 0a 74 79 70 65  |ount = 906..type|
00001c70  20 3d 20 22 73 74 72 69  70 65 64 22 0a 73 74 72  | = "striped".str|
00001c80  69 70 65 5f 63 6f 75 6e  74 20 3d 20 31 09 23 20  |ipe_count = 1.# |
00001c90  6c 69 6e 65 61 72 0a 0a  73 74 72 69 70 65 73 20  |linear..stripes |
00001ca0  3d 20 5b 0a 22 70 76 30  22 2c 20 30 0a 5d 0a 7d  |= [."pv0", 0.].}|
00001cb0  0a 7d 0a 7d 0a 7d 0a 23  20 47 65 6e 65 72 61 74  |.}.}.}.# Generat|
00001cc0  65 64 20 62 79 20 4c 56  4d 32 20 76 65 72 73 69  |ed by LVM2 versi|
00001cd0  6f 6e 20 32 2e 30 32 2e  37 32 28 32 29 20 28 32  |on 2.02.72(2) (2|
00001ce0  30 31 30 2d 30 37 2d 32  38 29 3a 20 4d 6f 6e 20  |010-07-28): Mon |
00001cf0  4e 6f 76 20 31 39 20 31  35 3a 31 30 3a 35 39 20  |Nov 19 15:10:59 |
00001d00  32 30 31 32 0a 0a 63 6f  6e 74 65 6e 74 73 20 3d  |2012..contents =|
00001d10  20 22 54 65 78 74 20 46  6f 72 6d 61 74 20 56 6f  | "Text Format Vo|
00001d20  6c 75 6d 65 20 47 72 6f  75 70 22 0a 76 65 72 73  |lume Group".vers|
00001d30  69 6f 6e 20 3d 20 31 0a  0a 64 65 73 63 72 69 70  |ion = 1..descrip|
00001d40  74 69 6f 6e 20 3d 20 22  22 0a 0a 63 72 65 61 74  |tion = ""..creat|
00001d50  69 6f 6e 5f 68 6f 73 74  20 3d 20 22 6c 6f 63 61  |ion_host = "loca|
00001d60  6c 68 6f 73 74 2e 6c 6f  63 61 6c 64 6f 6d 61 69  |lhost.localdomai|
00001d70  6e 22 09 23 20 4c 69 6e  75 78 20 6c 6f 63 61 6c  |n".# Linux local|
00001d80  68 6f 73 74 2e 6c 6f 63  61 6c 64 6f 6d 61 69 6e  |host.localdomain|
00001d90  20 32 2e 36 2e 33 32 2d  37 31 2e 65 6c 36 2e 78  | 2.6.32-71.el6.x|
00001da0  38 36 5f 36 34 20 23 31  20 53 4d 50 20 57 65 64  |86_64 #1 SMP Wed|
00001db0  20 53 65 70 20 31 20 30  31 3a 33 33 3a 30 31 20  | Sep 1 01:33:01 |
00001dc0  45 44 54 20 32 30 31 30  20 78 38 36 5f 36 34 0a  |EDT 2010 x86_64.|
00001dd0  63 72 65 61 74 69 6f 6e  5f 74 69 6d 65 20 3d 20  |creation_time = |
00001de0  31 33 35 33 33 35 35 38  35 39 09 23 20 4d 6f 6e  |1353355859.# Mon|
00001df0  20 4e 6f 76 20 31 39 20  31 35 3a 31 30 3a 35 39  | Nov 19 15:10:59|
00001e00  20 32 30 31 32 0a 0a 00  00 00 00 00 00 00 00 00  | 2012...........|
00001e10  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00002000  76 67 5f 73 65 72 76 65  72 20 7b 0a 69 64 20 3d  |vg_server {.id =|
00002010  20 22 32 64 49 75 36 58  2d 46 69 73 50 2d 35 36  | "2dIu6X-FisP-56|
00002020  32 66 2d 32 6c 36 7a 2d  55 4b 4a 31 2d 65 6e 43  |2f-2l6z-UKJ1-enC|
00002030  62 2d 6f 42 4e 6e 73 4f  22 0a 73 65 71 6e 6f 20  |b-oBNnsO".seqno |
00002040  3d 20 33 0a 73 74 61 74  75 73 20 3d 20 5b 22 52  |= 3.status = ["R|
00002050  45 53 49 5a 45 41 42 4c  45 22 2c 20 22 52 45 41  |ESIZEABLE", "REA|
00002060  44 22 2c 20 22 57 52 49  54 45 22 5d 0a 66 6c 61  |D", "WRITE"].fla|
00002070  67 73 20 3d 20 5b 5d 0a  65 78 74 65 6e 74 5f 73  |gs = [].extent_s|
00002080  69 7a 65 20 3d 20 38 31  39 32 0a 6d 61 78 5f 6c  |ize = 8192.max_l|
00002090  76 20 3d 20 30 0a 6d 61  78 5f 70 76 20 3d 20 30  |v = 0.max_pv = 0|
000020a0  0a 6d 65 74 61 64 61 74  61 5f 63 6f 70 69 65 73  |.metadata_copies|
000020b0  20 3d 20 30 0a 0a 70 68  79 73 69 63 61 6c 5f 76  | = 0..physical_v|
000020c0  6f 6c 75 6d 65 73 20 7b  0a 0a 70 76 30 20 7b 0a  |olumes {..pv0 {.|
000020d0  69 64 20 3d 20 22 42 43  65 72 7a 75 2d 36 79 4b  |id = "BCerzu-6yK|
000020e0  7a 2d 7a 6c 32 78 2d 44  64 6c 50 2d 52 43 32 57  |z-zl2x-DdlP-RC2W|
000020f0  2d 30 31 4d 6b 2d 4b 31  6a 32 44 5a 22 0a 64 65  |-01Mk-K1j2DZ".de|
00002100  76 69 63 65 20 3d 20 22  2f 64 65 76 2f 73 64 61  |vice = "/dev/sda|
00002110  32 22 0a 0a 73 74 61 74  75 73 20 3d 20 5b 22 41  |2"..status = ["A|
00002120  4c 4c 4f 43 41 54 41 42  4c 45 22 5d 0a 66 6c 61  |LLOCATABLE"].fla|
00002130  67 73 20 3d 20 5b 5d 0a  64 65 76 5f 73 69 7a 65  |gs = [].dev_size|
00002140  20 3d 20 31 31 35 35 36  38 36 34 0a 70 65 5f 73  | = 11556864.pe_s|
00002150  74 61 72 74 20 3d 20 32  30 34 38 0a 70 65 5f 63  |tart = 2048.pe_c|
00002160  6f 75 6e 74 20 3d 20 31  34 31 30 0a 7d 0a 0a 70  |ount = 1410.}..p|
00002170  76 31 20 7b 0a 69 64 20  3d 20 22 42 32 42 4e 66  |v1 {.id = "B2BNf|
00002180  78 2d 44 54 41 79 2d 55  67 57 65 2d 77 41 70 4e  |x-DTAy-UgWe-wApN|
00002190  2d 32 42 57 4e 2d 4f 64  52 36 2d 6e 74 55 6f 44  |-2BWN-OdR6-ntUoD|
000021a0  4d 22 0a 64 65 76 69 63  65 20 3d 20 22 2f 64 65  |M".device = "/de|
000021b0  76 2f 73 64 62 31 22 0a  0a 73 74 61 74 75 73 20  |v/sdb1"..status |
000021c0  3d 20 5b 22 41 4c 4c 4f  43 41 54 41 42 4c 45 22  |= ["ALLOCATABLE"|
000021d0  5d 0a 66 6c 61 67 73 20  3d 20 5b 5d 0a 64 65 76  |].flags = [].dev|
000021e0  5f 73 69 7a 65 20 3d 20  31 32 35 38 30 38 36 34  |_size = 12580864|
000021f0  0a 70 65 5f 73 74 61 72  74 20 3d 20 32 30 34 38  |.pe_start = 2048|
00002200  0a 70 65 5f 63 6f 75 6e  74 20 3d 20 31 35 33 35  |.pe_count = 1535|
00002210  0a 7d 0a 0a 70 76 32 20  7b 0a 69 64 20 3d 20 22  |.}..pv2 {.id = "|
00002220  7a 32 4d 4a 61 4d 2d 53  6c 66 56 2d 78 4e 6f 70  |z2MJaM-SlfV-xNop|
00002230  2d 71 66 57 6a 2d 4c 76  37 6d 2d 4e 30 42 70 2d  |-qfWj-Lv7m-N0Bp-|
00002240  74 33 6c 6f 4b 63 22 0a  64 65 76 69 63 65 20 3d  |t3loKc".device =|
00002250  20 22 2f 64 65 76 2f 73  64 63 31 22 0a 0a 73 74  | "/dev/sdc1"..st|
00002260  61 74 75 73 20 3d 20 5b  22 41 4c 4c 4f 43 41 54  |atus = ["ALLOCAT|
00002270  41 42 4c 45 22 5d 0a 66  6c 61 67 73 20 3d 20 5b  |ABLE"].flags = [|
00002280  5d 0a 64 65 76 5f 73 69  7a 65 20 3d 20 31 32 35  |].dev_size = 125|
00002290  38 30 38 36 34 0a 70 65  5f 73 74 61 72 74 20 3d  |80864.pe_start =|
000022a0  20 32 30 34 38 0a 70 65  5f 63 6f 75 6e 74 20 3d  | 2048.pe_count =|
000022b0  20 31 35 33 35 0a 7d 0a  7d 0a 0a 6c 6f 67 69 63  | 1535.}.}..logic|
000022c0  61 6c 5f 76 6f 6c 75 6d  65 73 20 7b 0a 0a 6c 76  |al_volumes {..lv|
000022d0  5f 72 6f 6f 74 20 7b 0a  69 64 20 3d 20 22 4a 76  |_root {.id = "Jv|
000022e0  31 78 6e 69 2d 6e 71 68  63 2d 51 51 4e 31 2d 55  |1xni-nqhc-QQN1-U|
000022f0  66 57 45 2d 67 31 58 69  2d 55 52 42 34 2d 44 77  |fWE-g1Xi-URB4-Dw|
00002300  41 6c 38 67 22 0a 73 74  61 74 75 73 20 3d 20 5b  |Al8g".status = [|
00002310  22 52 45 41 44 22 2c 20  22 57 52 49 54 45 22 2c  |"READ", "WRITE",|
00002320  20 22 56 49 53 49 42 4c  45 22 5d 0a 66 6c 61 67  | "VISIBLE"].flag|
00002330  73 20 3d 20 5b 5d 0a 73  65 67 6d 65 6e 74 5f 63  |s = [].segment_c|
00002340  6f 75 6e 74 20 3d 20 33  0a 0a 73 65 67 6d 65 6e  |ount = 3..segmen|
00002350  74 31 20 7b 0a 73 74 61  72 74 5f 65 78 74 65 6e  |t1 {.start_exten|
00002360  74 20 3d 20 30 0a 65 78  74 65 6e 74 5f 63 6f 75  |t = 0.extent_cou|
00002370  6e 74 20 3d 20 31 35 33  35 0a 0a 74 79 70 65 20  |nt = 1535..type |
00002380  3d 20 22 73 74 72 69 70  65 64 22 0a 73 74 72 69  |= "striped".stri|
00002390  70 65 5f 63 6f 75 6e 74  20 3d 20 31 09 23 20 6c  |pe_count = 1.# l|
000023a0  69 6e 65 61 72 0a 0a 73  74 72 69 70 65 73 20 3d  |inear..stripes =|
000023b0  20 5b 0a 22 70 76 31 22  2c 20 30 0a 5d 0a 7d 0a  | [."pv1", 0.].}.|
000023c0  73 65 67 6d 65 6e 74 32  20 7b 0a 73 74 61 72 74  |segment2 {.start|
000023d0  5f 65 78 74 65 6e 74 20  3d 20 31 35 33 35 0a 65  |_extent = 1535.e|
000023e0  78 74 65 6e 74 5f 63 6f  75 6e 74 20 3d 20 31 35  |xtent_count = 15|
000023f0  33 35 0a 0a 74 79 70 65  20 3d 20 22 73 74 72 69  |35..type = "stri|
00002400  70 65 64 22 0a 73 74 72  69 70 65 5f 63 6f 75 6e  |ped".stripe_coun|
00002410  74 20 3d 20 31 09 23 20  6c 69 6e 65 61 72 0a 0a  |t = 1.# linear..|
00002420  73 74 72 69 70 65 73 20  3d 20 5b 0a 22 70 76 32  |stripes = [."pv2|
00002430  22 2c 20 30 0a 5d 0a 7d  0a 73 65 67 6d 65 6e 74  |", 0.].}.segment|
00002440  33 20 7b 0a 73 74 61 72  74 5f 65 78 74 65 6e 74  |3 {.start_extent|
00002450  20 3d 20 33 30 37 30 0a  65 78 74 65 6e 74 5f 63  | = 3070.extent_c|
00002460  6f 75 6e 74 20 3d 20 39  30 36 0a 0a 74 79 70 65  |ount = 906..type|
00002470  20 3d 20 22 73 74 72 69  70 65 64 22 0a 73 74 72  | = "striped".str|
00002480  69 70 65 5f 63 6f 75 6e  74 20 3d 20 31 09 23 20  |ipe_count = 1.# |
00002490  6c 69 6e 65 61 72 0a 0a  73 74 72 69 70 65 73 20  |linear..stripes |
000024a0  3d 20 5b 0a 22 70 76 30  22 2c 20 30 0a 5d 0a 7d  |= [."pv0", 0.].}|
000024b0  0a 7d 0a 0a 6c 76 5f 73  77 61 70 20 7b 0a 69 64  |.}..lv_swap {.id|
000024c0  20 3d 20 22 71 33 69 49  69 53 2d 69 56 73 76 2d  | = "q3iIiS-iVsv-|
000024d0  46 36 6d 79 2d 37 35 70  4e 2d 42 77 67 59 2d 35  |F6my-75pN-BwgY-5|
000024e0  72 6f 47 2d 39 6f 6d 66  30 6b 22 0a 73 74 61 74  |roG-9omf0k".stat|
000024f0  75 73 20 3d 20 5b 22 52  45 41 44 22 2c 20 22 57  |us = ["READ", "W|
00002500  52 49 54 45 22 2c 20 22  56 49 53 49 42 4c 45 22  |RITE", "VISIBLE"|
00002510  5d 0a 66 6c 61 67 73 20  3d 20 5b 5d 0a 73 65 67  |].flags = [].seg|
00002520  6d 65 6e 74 5f 63 6f 75  6e 74 20 3d 20 31 0a 0a  |ment_count = 1..|
00002530  73 65 67 6d 65 6e 74 31  20 7b 0a 73 74 61 72 74  |segment1 {.start|
00002540  5f 65 78 74 65 6e 74 20  3d 20 30 0a 65 78 74 65  |_extent = 0.exte|
00002550  6e 74 5f 63 6f 75 6e 74  20 3d 20 35 30 34 0a 0a  |nt_count = 504..|
00002560  74 79 70 65 20 3d 20 22  73 74 72 69 70 65 64 22  |type = "striped"|
00002570  0a 73 74 72 69 70 65 5f  63 6f 75 6e 74 20 3d 20  |.stripe_count = |
00002580  31 09 23 20 6c 69 6e 65  61 72 0a 0a 73 74 72 69  |1.# linear..stri|
00002590  70 65 73 20 3d 20 5b 0a  22 70 76 30 22 2c 20 39  |pes = [."pv0", 9|
000025a0  30 36 0a 5d 0a 7d 0a 7d  0a 7d 0a 7d 0a 23 20 47  |06.].}.}.}.}.# G|
000025b0  65 6e 65 72 61 74 65 64  20 62 79 20 4c 56 4d 32  |enerated by LVM2|
000025c0  20 76 65 72 73 69 6f 6e  20 32 2e 30 32 2e 37 32  | version 2.02.72|
000025d0  28 32 29 20 28 32 30 31  30 2d 30 37 2d 32 38 29  |(2) (2010-07-28)|
000025e0  3a 20 4d 6f 6e 20 4e 6f  76 20 31 39 20 31 35 3a  |: Mon Nov 19 15:|
000025f0  31 31 3a 30 34 20 32 30  31 32 0a 0a 63 6f 6e 74  |11:04 2012..cont|
00002600  65 6e 74 73 20 3d 20 22  54 65 78 74 20 46 6f 72  |ents = "Text For|
00002610  6d 61 74 20 56 6f 6c 75  6d 65 20 47 72 6f 75 70  |mat Volume Group|
00002620  22 0a 76 65 72 73 69 6f  6e 20 3d 20 31 0a 0a 64  |".version = 1..d|
00002630  65 73 63 72 69 70 74 69  6f 6e 20 3d 20 22 22 0a  |escription = "".|
00002640  0a 63 72 65 61 74 69 6f  6e 5f 68 6f 73 74 20 3d  |.creation_host =|
00002650  20 22 6c 6f 63 61 6c 68  6f 73 74 2e 6c 6f 63 61  | "localhost.loca|
00002660  6c 64 6f 6d 61 69 6e 22  09 23 20 4c 69 6e 75 78  |ldomain".# Linux|
00002670  20 6c 6f 63 61 6c 68 6f  73 74 2e 6c 6f 63 61 6c  | localhost.local|
00002680  64 6f 6d 61 69 6e 20 32  2e 36 2e 33 32 2d 37 31  |domain 2.6.32-71|
00002690  2e 65 6c 36 2e 78 38 36  5f 36 34 20 23 31 20 53  |.el6.x86_64 #1 S|
000026a0  4d 50 20 57 65 64 20 53  65 70 20 31 20 30 31 3a  |MP Wed Sep 1 01:|
000026b0  33 33 3a 30 31 20 45 44  54 20 32 30 31 30 20 78  |33:01 EDT 2010 x|
000026c0  38 36 5f 36 34 0a 63 72  65 61 74 69 6f 6e 5f 74  |86_64.creation_t|
000026d0  69 6d 65 20 3d 20 31 33  35 33 33 35 35 38 36 34  |ime = 1353355864|
000026e0  09 23 20 4d 6f 6e 20 4e  6f 76 20 31 39 20 31 35  |.# Mon Nov 19 15|
000026f0  3a 31 31 3a 30 34 20 32  30 31 32 0a 0a 00 00 00  |:11:04 2012.....|
00002700  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*

Accessing the files in the context of the booted OS is as simple as mounting the device. In the rescue OS you are root and now have full access to this file system.

# mkdir /tmp/rescued
# mount /dev/vg_server/lv_root /tmp/rescued

Back to the Unix page