Displaying 20 results from an estimated 10000 matches similar to: "logical volume - device present without table"
2011 Mar 31
2
figuring out LogVol details for mount
Hi,
I need to mount a LVM in rescue mode to create a new initrd image. I
am not sure how do I fond out which LogVol is to be mounted. How do I
find it out? In most of the configs I have used LogVol00 with ext3
filesystem which contains OS install. This particular system is not
installed by me and I am not sure how do I find it out. I did try 'lvm
lvs' command, but probably that's not
2011 Mar 14
2
NFS still serving old directory after rename
Howdy,
I have renamed a directory on NFS ver 3 server and then created a new
directory again with the same name.
# mv dir dir-hosed
# mkdir dir
The directory is auto-mounted on client side. I had unmounted
directories on client side before making above changes. Now when I try
to mount back 'dir', I still see old files and not new empty dir. Am I
missing something here in the NFS config?
2011 May 17
3
xargs with max each line / argument
How do I pass xargs input one line at a time to subsequent command?
For example I want to install rubygems by reading a text file as shown
below, however the arguments are getting passed all at once to the
'gem install' command. I hace tried -L (max-lines) and -n (max args)
options, but it didn't work. What's missing here?? Any help?
$ cat gem.list.1
mkrf
rake
xmlparser
$ awk
2011 Mar 10
1
mkswap - unable to relabel, operation not supported
Hi,
I am getting following error on creating a swap fs. CentOS 5.5
{{{
mkswap: unable to relabel /srv/cloud/one/var/25/images/disk.1 to
system_u:object_r:swapfile_t: Operation not supported
}}}
The selinux is configured in permissive mode. Any clues on what might
be wrong here and how to fix it?
{{{
# /bin/dd if=/dev/zero of=/srv/cloud/one/var/25/images/disk.1 bs=1
count=1 seek=512M
# sudo
2007 Oct 05
1
How to enable my RAID again
Hi
I have setup software RAID two years ago using FC3 using the graphical
installer (RAID1). In the mean time I installed CENTOS4.5 and everything
is running fine. At least that was my perception. It now turns out that
raid is not working and that LVS just finds 4 partitions from four disks
and that's it.:
/dev/sda2 VolGroup00 lvm2 a- 94.88G 0
/dev/sdb1 VolGroup00 lvm2 a-
2006 Sep 12
2
Shrinking a volume group
I did something stupid when setting up a server which is now live. I
think I'm stuck.
I set up swap on Raid1 which is decidedly non-optimal. I'd prefer 2
independent swap partitions at the same priority.
Here is the set up:
/dev/sda1 + /dev/sdb1 -> md0 (raid1)
md0 -> VolGroup00
VolGroup00 -> VG00LV00(/), VG00LV01(/home), VG00LV02(swap)
I've gotten as far as :
Turning
2007 Mar 10
3
mount xen partitions inside logical volume from dom0?
I''ve installed a FC5 domU under RHEL5-beta2 dom0 with virt-manager.
As the disk for domU I used:
phy:/dev/mapper/VolGroup00-LogVol02,xvda,w
In the domU I have partitions:
/dev/xvda1 on / type ext3 (rw)
/dev/xvda2 on /var type ext3 (rw)
How do I access these partitions from dom0? For example if I take an
LVM snapshot of
LogVol02, how do I mount the / partition of the domU installed on
2007 Dec 18
1
LVM + kickstart -> dom0 && domUs
centos-virt,
I'm trying to create/install domU guests all in "one" step, following
Daniel's wiki page (I've found these pages really helpful, BTW):
http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU
I have a few questions about this process:
(1) How would it be modified (w/respect to defining the disk in the
domain configuration file) to use a disk layout where dom0
2007 May 03
2
LVM Resizing Problem
I'm new to lvm. I decided to decrease the space of a logical volume.
So I did a:
$ df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
1953 251 1602 14% /
/dev/sda2 494 21 448 5% /boot
tmpfs 1014 0 1014 0% /dev/shm
2011 Apr 29
2
how to access lvm inside lvm
I have a centos 5.6 server that has xen domUs installed on their on
logical volumes. These logical volumes contain their own volume groups
and again their own logical volumes. I want to access the domU logical
volumes and tried this:
[root at kr ~]# fdisk -l /dev/VolGroup00/LogVol02
Disk /dev/VolGroup00/LogVol02: 274.8 GB, 274877906944 bytes
255 heads, 63 sectors/track, 33418 cylinders
Units =
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
2015 Apr 01
1
can't mount an LVM volume inCentos 5.10
I have a degraded raid array (originally raid-10, now only two drives)
that contains an LVM volume. I can see in the appended text that the
Xen domains are there but I don't see how to mount them. No doubt this
is just ignorance on my part but I wonder if anyone would care to
direct me? I want to be able to retrieve dom-0 and one of the dom-Us
to do data recovery, the others are of
2007 Mar 14
4
"No space left on device" but there is space
Hi,
I've been receiving message "No space left on device" but there is space.
I've forced fsck on reboot 2 times but did not solve.
# yum
rpmdb: /var/lib/rpm/__db.001: No space left on device
error: db4 error(28) from dbenv->open: No space left on device
error: cannot open Packages index using db3 - No space left on device (28)
error: cannot open Packages database in
2007 Jan 04
2
Freeing pv space for snapshots
After upgrading my HD, I am now wishing I left some space for doing
snapshots. Is there a way to free up some space so I can get some free
PE?
Right now I have this:
# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 7
VG Access read/write
VG Status resizable
2011 Dec 08
1
Selecting raw logical volumes during guest VM creation
Greetings -
I have stepped through the first guest OS installation (a testing VM) on my
new server and have a technical question that I hope someone might be able
to help me with. I have exhausted my google search ability and have not
been able to find the details I am looking for. In general the question I
am trying to answer is how to select and use multiple raw logical volumes
when
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
2007 Apr 01
2
CentOS 5 Dual Drive Confusion
I performed a test install of CentOS Beta 5 on a system with two ~60
GB drives. When installing CentOS 4 on this system, I normally work
thru setting up Software RAID with identically sized partitions on
each drive.
For my test, the CentOS installer only presented a single drive. I
took the default of letting it do what it wanted. After looking over
the system I have verified that /boot is
2008 Feb 15
0
Resize Logical Volume
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ivan Arteaga wrote:
> I tried the commands you sent me and i can extend the size to the new
> value but can?t resize the file system:
> [root at mail ~]# lvextend -L+30G /dev/VolGroup00/LogVol00
> Extending logical volume LogVol00 to 88.59 GB
> Logical volume LogVol00 successfully resized
> [root at mail ~]# resize2fs
2009 May 18
4
unable to read partition table in log
Hi recently I noticed in the messages log, the following error
May 18 15:59:52 mail kernel: sdb: assuming drive cache: write through
May 18 15:59:52 mail kernel: sdb : READ CAPACITY failed.
May 18 15:59:52 mail kernel: sdb : status=0, message=00, host=1, driver=00
May 18 15:59:52 mail kernel: sdb : sense not available.
May 18 15:59:52 mail kernel: sdb: assuming Write Enabled
May 18
2011 May 06
1
ruby 1.8.7 from source
I need to install ruby 1.8.7 on CentOS 5.5 x86_64 system. I am
planning to install it from source, but I am not sure whether this
will install rdoc, ri and ruby-devel as well. I couldn't figure it out
from 'configure --help' command. Appreciate any help regarding this
issue. Also, any other installation options or repository suggestions
are welcome.
thanks,
neuby.r