Displaying 20 results from an estimated 5000 matches similar to: "Mounting a LVM partition from a linux live cd"
2011 Jan 08
4
LiveCD System recovery - Mounting LVM?
Hi,
I am trying to recover data from my old system which had LVM. The disk had
two partitions - /dev/sda1 (boot, Linux) and /dev/sda2 (Linux LVM). I had
taken a backup of both partitions using dd.
Now I am booting of CentOS live cd for system restore. I recreated
partitions like previous system using fdisk and then used dd to dump all the
data onto it. I would like to mount sda2 as LVM, but I
2007 Jul 05
3
LVM recovery questions
Hi,
I have a centos 4 box i use for a file server (nfs and samba). It has two hdd: hda is for the standard install; hdb is for /export/samba/netdisk0
hda is lost - it just clicks now
i think hdb is still good
i can't figure out how i can remount the hdb disk in a new machine and retrieve the info from it; i've scanned the LVM howto and googled some LVM topics, but nothing seems to
2009 May 11
3
is it possible to resive a PV in LVM and add more LV's ?
Hi all
I have a remote server (i.e SSH access only) which was incorrectly
partitioned and I urgently need to get it up and running. It's got a 500GB
HDD, but the PV is only 10GB big, so I can't add more LV's to to. P.S. This
is on LVM, btw.
[root at nd11176 ~]# fdisk -l /dev/sda
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders
2006 Nov 01
1
e2fsck: Bad magic number in super-block
I posted this to the Fedora-list, but thought I might get some
additional information here as well.
I have a HD that refuses to mount with a 'bad magic number in
super-block'. I'm running FedoraCore 6 x86_64.
[root at moe ~]# fdisk -l /dev/hdc
Disk /dev/hdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
2011 Mar 24
2
OT LVM question
I've got a situation here where my LVM is showing the following problem:
Found duplicate PV xxxxxxxxxxxxxxxxxxxxxx: using /dev/sdb2 not /dev/sda2
Not sure what causes this and I really don't have a clue as to what the
consequences are when seeing this or how to fix it. Google just
confuses me with any suggestions.
Can anyone offer any help, please?
Steve Campbell
2008 Nov 09
2
can I use 2 HDD's with the same LVM labels at the same time?
Hi all,
I need to add a drive with the same LVM labels (i.e. system) to a
machine with a drive with the same label. How can I access the data on
both drive's LVM partitions at the same time?
--
Kind Regards
Rudi Ahlers
2007 Apr 03
2
Where is the LVM config stored?
Hi,
I am trying to migrate one of my systems to a VMware virtual machine..
The PC is an IDE drive using LVM and the virtual machine is a SCSI drive
using ordinary partitions..
Basically I rsynced the entire filesystem from the physical to the
virtual machine and that seemed to work just fine.. I installed grub
onto the drive in the virtual machine and its booting fine..
The problem comes
2013 Mar 18
3
Making a clone of an LVM-based EL5 install
Does anybody here have any idea how to make an exact copy of a drive
that has LVM partitions? I'm having trouble using dd to do this for an
EL5 server.
We're trying to diagnose a software problem of some kind and would like
an exact, perfect copy of the software running so that we can see
exactly what the problem is without disturbing our production copy. It's
been admin practice
2010 Jul 11
1
is it safe to resize root, on an LVM system, online?
Hi,
One of our servers has a too small root partition on LVM and needs to
be resized. Can / be safely increased online, without a reboot?
[root at zaxen02 ~]# lvscan
ACTIVE '/dev/LVM01/root' [4.00 GB] inherit
ACTIVE '/dev/LVM01/home' [20.00 GB] inherit
ACTIVE '/dev/LVM01/var' [4.00 GB] inherit
ACTIVE
2008 Jun 24
11
what''s correct way of shrinking LVM based domU?
Hi all
I want to shrink one of my LVM based domU''s, but don''t quite know how to
do it.
I have searched the Wiki & HOWTO''s, and they all show you how expand /
enlarge a LVM based domU, but not shrinking it.
So, I stopped (destroyed) the domU, and then resized it as follows:
lvresize /dev/data/cpanel1 -L10GB (It was 100GB), but when I a started
it up again, I
2010 Aug 11
1
manage (iscsi storage) LVM
Hi,
it is possible to create and setup/format volumes on a iscsi storage on
one server and than disconnect and attache the storage to an other server.
AFAIK on the 'new' server I do have to launch an LVM-scan command ...
after login to the iscsi target.
But which LVM-command and syntax was it?
Thanks for any hint! :)
/G?tz
--
G?tz Reinicke
IT-Koordinator
Tel. +49 7141 969 420
Fax
2009 May 08
1
domU corrupt after server crash, help needed trying to recover domU LVM
Hi all,
One of our Dell servers has failed badly, and one of the domU's has been
corrupted in the process. It boots up to a point and then gives me a kernel
panic:
Loading dm-zero.ko module
Loading dm-snapshot.ko module
Scanning and configuring dmraid supported devices
Scanning logical volumes
Reading all physical volumes. This may take a while...
No volume groups found
Activating
2005 May 19
1
Gnumeric
Hi,
I am trying to install Gnumeric in CentOS 4 and I can't. It
complains about quite a few dependencies failing. It suggested
installing some postgresql librairies, openldap librairies... I
did that, now I still get:
dependencies failed:
libmdb/libmdbsq/libsqlite/libxbase/libtds.
Is there a yum repository that has them or a yum repository for
gnumeric?
I have tried Dag, he does not, he
2016 May 06
4
resize lvm
I have a laptop that I put centos 7 on and I started out with a 30gig partition.? I resized the other part of the disk to allow more space for centos.? I then created an unformated partition in the available space,? ran
pvcreate /dev/sda4
vgextend lvname /dev/sda4
lvextend -L 184.46G /dev/lvname/root
but when I run:
sudo resize2fs /dev/lvname/root
I get:
resize2fs: Bad magic
2007 Jun 13
1
lvm
Hello,
I have a physical volume with no volume group.
# /sbin/pvscan -n
WARNING: only considering physical volumes in no volume group
PV /dev/sdg2 lvm2 [148.95 GB]
Total: 1 [148.95 GB] / in use: 0 [0 ] / in no VG: 1 [148.95 GB]
Can I just create a volume group -- for example:
# vgcreate my_volume_group /dev/sdg2
and then activate it:
# vgchange -a y my_volume_group
I
2014 Jul 25
1
LVM - VG directory not being created
Hi all,
I'm not sure if this is the right place to ask, but it's worth a shot.
I have installed CentOS 6.5 on one of our servers, and have just installed
SolusVM.
I have also set up LVM, with a PV on /dev/sda4 (which is GPT formatted, and
3.12TB is size).
The problem I'm having is that when I create the VG, it will not show up
under /dev/<VG-name>, which it's supposed to
2007 Jun 25
1
I/O errors in domU with LVM on DRBD
Hi,
Sorry for the need of the long winded email. Looking for some answers
to the following.
I am setting up a xen PV domU on top of a LVM partitioned DRBD
device. Everything was going just fine until I tried to test the
filesystems in the domU.
Here is my setup;
Dom0 OS: CentOS release 5 (Final)
Kernel: 2.6.18-8.1.4.el5.centos.plusxen
Xen: xen-3.0.3-25.0.3.el5
DRBD:
2014 Sep 16
1
quota doesn't appear to work - repquota only updates when quotacheck is run
Hi,
I have exactly the same problem that you experienced in Nov, 2013.
I am using ext4 with journaled quota and the quota usage is only updating when I run quotacheck manually.
Have you found a solution?
Regards,
Alex
> I have set up user quotas on an ext4 filesystem. It does not appear that
> the quota system is being updated, except when I manually run quotacheck.
>
> More detail:
2015 Nov 04
1
[PATCH 0/1] sparsify: Let --in-place capture ^C and shut down gracefully
This patch is easier to read if you use the 'git show -w' option.
Also observe that:
fun a -> ( fun () -> (* code *) )
(ie. returning a closure) is identical to:
fun a () -> (* code *)
Rich.
2012 Dec 06
3
LVM Checksum error when using persistent grants (#linux-next + stable/for-jens-3.8)
Hey Roger,
I am seeing this weird behavior when using #linux-next + stable/for-jens-3.8 tree.
Basically I can do ''pvscan'' on xvd* disk and quite often I get checksum errors:
# pvscan /dev/xvdf
PV /dev/xvdf2 VG VolGroup00 lvm2 [18.88 GiB / 0 free]
PV /dev/dm-14 VG vg_x86_64-pvhvm lvm2 [4.00 GiB / 68.00 MiB free]
PV /dev/dm-12 VG vg_i386-pvhvm lvm2