Displaying 20 results from an estimated 2000 matches similar to: "LVM recovery questions"
2008 May 27
8
How to manage partitions and logical volumes with puppet?
Hi,
As someone new to puppet I''m trying to work out the best way to manage
different filesystems and logical volumes on different servers. Specifically
I would like to be able to define on a series of nodes different LVM logical
volumes to create and mount.
I''m trying to do this at the moment with a define of the following type:
# Manage a partition and create if needed.
2007 May 12
2
reading lvm
Hi,
I don't like to start messages out this way and this is my opinion but
i'm really beginning to hate lvm.
With that out of the way here's the situation. I have a centos 4.4 drive
with two partitions on it, one an hd*1 partition former /boot ext3
partition, which i can read fine, but which doesn't have the data i want.
I've got some data on an lvm volume /dev/hd*2
2011 Sep 28
6
I can't seem to create mountpoint and change permissions after mounting in 2.7.3
Hi,
I''m using puppet 2.7.3 on RHEL/CentOS and I have an issue which is now
a big blocking issue within my environment. What I''m trying to
accomplish wit puppet is a create a mountpoint, mount a filesystem on
it and install an application on that filesystems are set proper user/
group and permissions on it, but it fails big time.
The issues I currently run into are about 3
2005 Jul 30
3
LVM Snapshot Create Error
Just discovered that on CentOS 4.1 when you issue the command:
lvcreate -s -n temp -L2G /dev/vgname/lvname
to create a snapshot, you get the error message:
snapshot: Required device-mapper target(s) not detected in your kernel
I've checked and recheck my spelling and tried using the device created
under /dev/mapper. I've tried it on both x86_64 and on i386. Works as
expected under
2008 Apr 22
1
dd backup of lv
I have a series of unmounted lv's that are used in xen vm's of various flavors in a lab environment. I made a script that I use to backup all of them prior to doing anything I may need to undo and all I execute is:
dd if=/dev/vgname/lvname of=/dir/name.img
Are there any additional parameters I should use? I haven't tried to restore this into an lv, but I did swap the 'phy'
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
2009 Aug 17
2
Building and Installing Xen 4.3 in Fedora11
HI there,
I am using a Dell PowerEdge 2970 with following specs:2 x AMD Dual Core Opteron processors, 2GHz, 2 MB L2 Cache.8 GB RAM (4 x 2 GB)4 x 146 GB Hard DisksDual Port Gigabit Ethernet NIC10 Gbps PCI EthernetFedora 11 operating system installed.What I want here is Building and Installing Xen 4.3 in Fedora 11. for this I followed the following steps
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
2008 Feb 06
4
Installation problems with large mirrored drives
I am trying to install CentOS 4.6 to a pair of 750GB hard drives. I can
successfully install to either of the drives as a single drive, but when
I try to use both drives and mirror the partitions, I start having
problems. Anaconda crashes as it is trying to format the drives.
This is what I'm trying to create:
/dev/md0: 200MB, /boot
/dev/md1: 2GB, swap
/dev/md2: rest of the
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.
2004 Jun 15
1
ext3 data recovery in RH9, help please
Hi users,
I was working with GNU parted and got some changes in the partition and
the system crashed. I had to freshly install RH Linux 9 again as it
didn't detect the linux installation. Now the problem
is /dev/hda is mounted but not showing any data files. It has
full of data originally. Anyhow Can i recover those data.
I didnt format any of the hard drive expect the root
partition for
2013 Mar 05
1
ubuntu, libvirt and virtio block devices
--
Hi. I'm running
Ubuntu Precise
12.04 LTS. I created some virtual machines using vmbuilder, and then
migrated those from their .qcow files to lvm. However, those virtual
machines are still using disk type "file":
Code:
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source
2009 Sep 19
3
How does LVM decide which Physical Volume to write to?
Hi everyone.
This isn't specifically a CentOS question, since it could apply for
any distro but I hope someone can answer it anyway.
I took the following steps but was puzzled by the outcome of the test
at the end:
1. Create a RAID1 array called md3 with two 750GB drives
2. Create a RAID1 array called md9 with two 500GB drives
3. Initialise md3 then md9 as physical volumes (pvcreate)
4.
2007 Jan 27
2
unable to mount centos hard drive
I am considering changing my server from Ubuntu to Centos. I have been
tinkering with a box that will eventually become a new server. I am
having a problem.
This box has two ide drives. Originally I had a Ubuntu desktop installed
on hda and then added a Centos server installed on hdb. I wanted to try
a different server configuration without overwriting the current install
on hdb. With the server
2007 Apr 16
3
Formatting hdb?
Dear friends:
Using Centos 5.
I have two physical drives. During install, I made sure to check hdb as well
as hda. Both were listed as partitions (which is correct). But my fstab file
does not show hdb. How do I make sure that hdb has been formatted and is part
of my file system. If hdb is not formatted, how do I format it, please. Sorry
for the question. I am a newbie.
d[sher at localhost
2008 Jul 08
6
HVMAssist BIOS boot device problem
Hello,
The xm config option boot="c" is intended to boot from the "first" harddrive; however, the enumeration of harddrives is independent of device enumeration (hda|hdb|hdc|hdd), leading to unreliable boot device selection.
Example A:
I am building a Windows HVM appliance which performs file-system level operations over mounted NTFS volumes - for example a file-system
2006 Jun 24
3
recover data from linear raid
Hello,
I had a scientific linux 3.0.4 system (rhel compatible), with 3
ide disks, one for / and two others in linear raid (250 gb and 300 gb
each).
This system was obsoleted so i move the raid disks to a new
scientific linux 3.0.7 installation. However, the raid array was not
detected ( I put the disks on the same channels and same master/lsave
setup as in the previous setup). In fact
2005 Jan 01
1
Advice for dealing with bad sectors on /
All,
Trying to figure out how to deal with, I assume, a dying disk that's
unfortunately on / (ext3).
Getting errors similar to:
Dec 31 20:44:30 mybox kernel: hdb: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Dec 31 20:44:30 mybox kernel: hdb: dma_intr: error=0x40 { UncorrectableError },
LBAsect=163423, high=0, low=163423, sector=163360
Dec 31 20:44:30 mybox kernel: end_request:
2012 Apr 07
4
Display instruction text on package load
I'm currently working on a new package for R that interfaces with an API.
Most of the package's functionality requires users to supply an access key
that allows the package to work with the API. I want to display text
immediately upon loading the package that instructs/reminds users to enter
their access key before attempting to do anything (as the package won't
really work without
2002 Jan 21
2
EXT3-fs error
Hello all.
I'm using RedHat 7.2 now and haven't have any problems until today. I
can still boot into the system at this time, but cannot load X at all.
I'm getting the following error message when I try to run fsck.
/contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks and sizes
Error reading block 1277964 (Attempt to read block from filesystem
resulted