Sponsored Content
Full Discussion: LVM VG recovery
Operating Systems Linux LVM VG recovery Post 302993597 by ancientnoise on Saturday 11th of March 2017 06:22:10 PM
Old 03-11-2017
What is the response from blkid?
 

10 More Discussions You Might Find Interesting

1. Linux

LVM Help

Hi guys, I have been Linux for quite a while yet, but am only getting into the LVM world just now, so I do want to ask a pretty basic question (I believe for someone with experience with it) I have a physical volume of /dev/sdc1 which contains a volume group call backup that contains 2 logical... (0 Replies)
Discussion started by: pasha
0 Replies

2. UNIX for Advanced & Expert Users

Data Recovery from file system overwritten with LVM.

Hey peeps, Here is somethin u might find interestin.... Is it possible to recover data from a partition which used to be an ext3 file sytem with some nice forgotten backups, which now is an lvm partion containg root partition of another OS. :) I couldn't create any mess better than this, can... (2 Replies)
Discussion started by: squid04
2 Replies

3. Filesystems, Disks and Memory

LVM restore / recovery

Hello, I would really appreciate help on recovering some data. I have a RAID1 array under /dev/md0 composed of devices /dev/sdb and /dev/sdc. I had lvm on the raid with 3 lv, the last of which was a snapshot partition. My / is on /dev/sda. Recently, I reinstalled the system (Debian lenny)... (7 Replies)
Discussion started by: Zburatorul
7 Replies

4. Red Hat

lvm with -- on the name

Hi All, I created an lvm filesystem with a name with dash in the middle, like xxx-yyy (note, that it's only one dash). I was able to create it smoothly with this instructions. lvcreate -L 1G uservg -n xxx-yyy ls /dev/uservg/xxx-yyy (check) mkfs.ext3 /dev/uservg/xxx-yyy mount... (1 Reply)
Discussion started by: itik
1 Replies

5. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

6. AIX

Help with lvm

i have os 5.1 and i do mirror with hdisk0 and hdisk1 on rootvg at the end i get error in mail that: At least one partition mirror is broken please call sysadmin hd5 boot 1 2 2 closed/stale N/A the other fs seems ok and sync what to do about the hd5??? (4 Replies)
Discussion started by: amitt74
4 Replies

7. Red Hat

LVM Help

Hi, I have extended the logical drive on my SMART ARRAY on a BL460 C class blade from 72G to 300G (disk upgrade RAID0+1). It went fine and the new larger disks have now sync'ed up. I now need to create additional disk space on my linux OS (RH) via LVM but I am unable to see the additional... (9 Replies)
Discussion started by: Duffs22
9 Replies

8. Linux

LVM

Hi , I have 500 GB hard drive in my office server, previous employee installed fedora in to it, with 50 GB / and 120 GB (/opt/backup 15GB, /opt/test 5GB so on) . i have 180 GB free space left , so I have created LVM in 180 GB and moved all data from 120 GB to 180 . Now i need to create lvm in... (1 Reply)
Discussion started by: ram5019
1 Replies

9. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

10. Filesystems, Disks and Memory

LVM recovery, Hard disk broken

Hi I am new on your forum, because I need some help. I have a server with debian and proxmox 2. The HardDisk is broken. I am in rescue mode, and I can't mount LVM partition to recover my backups. What I've already done : # fdisk -l Disk /dev/sda: 2000.4 GB, 2000398934016 bytes 255... (0 Replies)
Discussion started by: pppplu
0 Replies
LIBBLKID(3)							Programmer's Manual						       LIBBLKID(3)

NAME
libblkid - block device identification library SYNOPSIS
#include <blkid.h> cc file.c -lblkid DESCRIPTION
The libblkid library is used to identify block devices (disks) as to their content (e.g. filesystem type) as well as extracting additional information such as filesystem labels/volume names, unique identifiers/serial numbers. A common use is to allow use of LABEL= and UUID= tags instead of hard-coding specific block device names into configuration files. The low-level part of the library also allows to extract infomation about partitions and block device topology. The high-level part of the library keeps information about block devices in a cache file /etc/blkid.tab and is verified to still be valid before being returned to the user (if the user has read permission on the raw block device, otherwise not). The cache file also allows unprivileged users (normally anyone other than root, or those not in the "disk" group) to locate devices by label/id. The standard loca- tion of the cache file can be overridden by the environment variable BLKID_FILE. In situations where one is getting information about a single known device, it does not impact performance whether the cache is used or not (unless you are not able to read the block device directly). The high-level part of the library supports two methods to evaluate LABEL/UUID. It reads information directly from a block device or read information from /dev/disk/by-* udev symlinks. The udev is preferred method by default. If you are dealing with multiple devices, use of the cache is highly recommended (even if empty) as devices will be scanned at most one time and the on-disk cache will be updated if possible. In some cases (modular kernels), block devices are not even visible until after they are accessed the first time, so it is critical that there is some way to locate these devices without enumerating only visible devices, so the use of the cache file is required in this situa- tion. CONFIGURATION FILE
The standard location of the /etc/blkid.conf config file can be overridden by the environment variable BLKID_CONF. The following options control the libblkid library: SEND_UEVENT=<yes|not> Sends uevent when /dev/disk/by-{label,uuid}/ symlink does not match with LABEL or UUID on the device. Default is "yes". CACHE_FILE=<path> Overrides the standard location of the cache file. This setting can be overridden by the environment variable BLKID_FILE. Default is /etc/blkid.tab. EVALUATE=<methods> Defines LABEL and UUID evaluation method(s). Currently, the libblkid library supports "udev" and "scan" methods. More than one meth- ods may be specified in a comma separated list. Default is "udev,scan". The "udev" method uses udev /dev/disk/by-* symlinks and the "scan" method scans all block devices from the /proc/partitions file. AUTHOR
libblkid was written by Andreas Dilger for the ext2 filesystem utilties, with input from Ted Ts'o. The library was subsequently heavily modified by Ted Ts'o. The low-level probing code was rewritten by Karel Zak. FILES
/etc/blkid.tab caches data extracted from each recognized block device /etc/blkid.conf configuration file AVAILABILITY
libblkid is part of the util-linux package since version 2.15 and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. COPYING
libblkid is available under the terms of the GNU Library General Public License (LGPL), version 2 (or at your discretion any later ver- sion). SEE ALSO
blkid(8) findfs(8) util-linux May 2009 LIBBLKID(3)
All times are GMT -4. The time now is 02:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy