CentOS 5 :: Df Not Showing Disk Space After Logical Volume Expansion / Fix It?

Jun 5, 2009

I've added a new LUN to my Centos 5.2 server using Powerpath and have added it to an ext3 logical volume. I extended the logical volume using lvextend and the new space shows up correctly in lvdisplay. What I'm having problems with is getting Centos to see the new disk space (df -h shows 500GB, not 600GB as expected). I've tried running a resize2fs on the new volume but it tells me that "the filesystem is already n blocks long. Nothing to do". Does any one know where I'm going wrong? If possible I'd like to sort this without a reboot.

View 3 Replies


ADVERTISEMENT

CentOS 5 Hardware :: LVM Logical Volume Not Seeing 1 Disk After Yum Update / Fix It?

Jun 1, 2011

I ran yum update on my centos 5.6 box a couple of days ago and following this the system would not reboot, dont recall the exact error and don't seem to be able to find it logged anywhere but it was something to do with LVM not being able to find a disk.

In the end I have booted to linux rescue and edited my /etc/fstab file so the system does not try to mount the offending volume group. This enables the system to boot but I need to find out what is wrong with the system and get this volume group accessible again. Here is my edited fstab showing the commented out line. code...

View 1 Replies View Related

Fedora :: Managed To Reduce The Logical Volume To Free Some Space But Cant Seem To Reduce The Physical Volume

Jan 1, 2010

so i have f12 installed on my hd with lvm using the whole extent of the HD , i want to reduce it so i can dual boot it with a windows system, i managed to reduce the logical volume to free some space, but i cant seem to reduce the physical volume, is this possible and how ?

View 2 Replies View Related

Fedora :: Root Logical Volume Ran Out Of Space?

Nov 13, 2009

My computer: (Lenovo T61 Thinkpad, running fc11 for about 2 and half months). Apparently I when I made my partitions I didn't leave quite enough room in my root directory, because I just completely ran out. Here is how my hard drive is partitioned:

1 physical volume group (sda)
4 logical volumes (home, root, swap, var)

The root had about 15 gigs on it, which just filled up. When I restarted to see if that would help, when it rebooted it went fine up to the log-in screen. Instead of the usual fedora blue background, it was black except for the log-in window, which looked very low-res. A little pop-up kept coming up saying the GNOME power configuration settings failed to load or something. When I logged in, the whole screen was black except for the mouse, and I could get no response. I have plenty of space left in home, so I rebooted to rescue mode using the first fedora installation disk, and tried the following command:

Code:

lvreduce -L90G /dev/mapper/DRIVE

which only returned:

Code:

lvreduce: relocation error: lvreduce: symbol dm_tree_node_size_changed, version Base not defined in file libdevmapper.so.1.02
So I couldn't reduce the size of home, and thus couldn't increase the size of root.

IN SUMMARY:

a) the lack of memory in root the probable cause for my computer not working

b) there a good way to reduce home and increase root while running this live disk

Note: When I am looking at it now in the logical volume manager, it says that on the whole physical volume there is only 400MB free. However, when I last looked (about 30 mins before I started having problems) it said there were about 100 Gb free.

Edit: Nevermind. I did some more research and it turned out to be more of a gnome power manager thing rather than a memory space thing, although I'm certainly going to increase my root memory now.

View 3 Replies View Related

Server :: Identifying What Is Using Up Space In Logical Volume?

Jun 14, 2010

I just read and learned about logical volume management today. I have a server running RHEL5.4, LVM2. I have 1 physical volume, with one volume group, and 3 logical volumes. I have no free extents, nor do I have any in my volume group (not sure if it's possible to have free in one and not the other anyway), and I am running out of space on one of my logical volumes. Doing a df -h shows 96% of 9.7GB used on /dev/mapper/MainVG-root, mounted at /. So here's the stupid question: how can I find out what directories/files are taking up what space within this logical volume? As I said I have 3 all together, and the other 2 are mapped to /var and a /var pgsql sub-directory. I figured I could get the sizes of the other directories under / and drill down accordingly, but I seem to be missing some basic rule because the commands I am using and the values I am getting don't add up.

For example, it seemed logical to me to do an ls -lsh on / to try and identify the largest directories. Each directory is listed as being ~4-8K in size. That doesn't make sense to me. So I decided to do a du -sh on each directory. Having done this on all of the / sub-directories and added up those values, there is not enough reported usage here to equal 8.9GB of used space (as df -h / reports).how they would find out how the 9.7GB here is being allocated? Preferably without scripts as I am not ready to add a layer of complexity to this yet without understanding some fundamentals.

View 2 Replies View Related

Ubuntu :: Possible After OS Is Installed To Configure Space As One Logical Volume?

Jun 2, 2010

HPDL385 with dual raid controllers (8 disks each). During the install of the ISO, it sees the raid controllers individually. I tried "One Generic Drive" but it still only partitions one of the raid controllers.Is it possible after the OS is installed to configure the space as one logical volume?

View 3 Replies View Related

CentOS 5 :: Add New RAID Volume To The Existing Logical Volume?

May 7, 2011

I have a system with a 2TB RAID level 1 installed (2 x 2TB drives, configured as RAID1 through the BIOS). I installed Centos 5.5 and it runs fine. I now added another 2x2TB drives and configured them as RAID1 through the BIOS.

How do I add this new RAID volume to the existing logical volume?

View 5 Replies View Related

Ubuntu Servers :: Extended A Logical Volume From A Partition On One Disk Into A Entirely Seperate?

May 9, 2011

I have extended a logical volume from a partition on one disk into a entirely seperatedisk.I wish to extend the file system from the original partition onto the newly extend volume.I attempted this using extend2fs but it did not work, and did not mention why.The command I used was -$ sudo resize2fs /dev/glab1/glab-share1/I attempted this on ubuntu server 10.04.

View 5 Replies View Related

Server :: Converting A Logical Volume To A Raw Disk To Mount Oracle ASM Instance On It?

Jul 21, 2010

Could anyone give the steps for converting a logical volume to a raw disk to mount Oracle ASM Instance on it?

View 2 Replies View Related

General :: Read The Contents Of A Physical Disk That Was Part Of A Larger Logical Volume?

Mar 17, 2010

how easy it would be to read the contents of a physical disk that was part of a larger logical volume. The disk contains a "Linux LVM" partition that spans its entire size. My problem is that one of my disks died, and I have to send it back for a warranty replacement. However, the disk is dead, and I can't zero it out. I'm just trying to assess how difficult it would be (or at least how likely it would be) for a tech that's checking out the disk to get at the data.

View 4 Replies View Related

CentOS 5 :: Reducing A Logical Volume Mounted As /?

Jan 15, 2010

I'm wondering if there is a way to shrink an ext3 LV mount as / .I tried to with resize2fs ... but seems that isn't possible if the partition is mounted.

View 8 Replies View Related

CentOS 5 :: Logical Volume Greater Than 16TB

Apr 8, 2010

I have a huge RAID6 array 21TB+ already partitioned in GPT. This is to be used as the storage location for my company's backup server, and I want to access it as one logical volume. Is this possible with Centos5? I just discovered the product specifications for Centos5, and saw that the maximum file system size is 16TB, but LVM2 should support volumes up to 1EB. Is there any way I can make this work in Centos, or am I going to have to run a different distro?

View 1 Replies View Related

CentOS 5 Networking :: Sharing Logical Volume Across Xen Domains?

Oct 16, 2009

I have a network (192.168.x.x) that I want to keep closed and private for the most part. I need however to get access to some files generated on the machines in this private network. So I first tried putting two cards in a machine running centos 5.2 and connecting one to the private newtork and the other to the public network. This worked somewhat but I was not able to see this bridging machine in the private network because I could not run 2 samba instances on this machine ( I need one for the public network). So I setup xen on a machine with the 2 NIC's and assigned one card to the host dom and the other to the guest dom which was connected to the private network.

This worked ok, but the only issue was the shared disk space. I couldn't use nfs because each machine operates in a different subnet and I don't know how to export a nfs drive across domains. So I created a logical volume on a disk and mounted this in both domains.

Here comes the question now. This works some times,. but at other times I copy files from the private machine to the shared volume but i can't see them from the other domain. Also sometimes the guest domain which houses the private network server hangs during boot up saying that the logical volume has been assigned and cannot be mounted.

1) Is what I'm doing using logical volumes across domains legal (best practise, etc)

2) Is there another way for me to achieve what I want (sharing a disk partition across domains).

View 1 Replies View Related

CentOS 5 Server :: Sharing Logical Volume Across Xen Domains?

Oct 17, 2009

I have a network (192.168.x.x) that I want to keep closed and private for the most part. I need however to get access to some files generated on the machines in this private network. So I first tried putting two cards in a machine running centos 5.2 and connecting one to the private newtork and the other to the public network. This worked somewhat but I was not able to see this bridging machine in the private network because I could not run 2 samba instances on this machine ( I need one for the public network). So I setup xen on a machine with the 2 NIC's and assigned one card to the host dom and the other to the guest dom which was connected to the private network.

This worked ok, but the only issue was the shared disk space. I couldn't use nfs because each machine operates in a different subnet and I don't know how to export a nfs drive across domains. So I created a logical volume on a disk and mounted this in both domains. This works some times,. but at other times I copy files from the private machine to the shared volume but i can't see them from the other domain. Also sometimes the guest domain which houses the private network server hangs during boot up saying that the logical volume has been assigned and cannot be mounted.

1) Is what I'm doing using logical volumes across domains legal (best practise, etc)

2) Is there another way for me to achieve what I want (sharing a disk partition across domains).

View 15 Replies View Related

CentOS 5 Server :: How To Automatically Resize Logical Volume

Feb 17, 2010

I'm sure many of you here have worked with disk quotas and lvm2 and my problem involves both. Basically what I'm wanting to do is have it so whenever a logical volume gets below a certain constraint (10Gb's) ie. it only has that much left - I want to automatically resize it to add 20 GB's. Obviously this can be done rather easily manually, and with a bit of python hacking it can be done programmatically but since this is for production use I was wondering if there was something a bit more fluid. Since this server is I/O intensive ZFS implemented via FUSE is not an option and neither is the still unstable BtrFS.

View 3 Replies View Related

CentOS 5 Server :: What Is The Maximum Number Of Logical Volumes In A Volume Group

May 15, 2009

what the maximum number of logical volumes is for a volume group in LVM ? Is there any known performance hit for creating a large number of small logical volumes vs a small number of large volumes ?

View 1 Replies View Related

CentOS 5 :: Recovering - Lvm2 - Can't Access Anything In That Logical Volume With Standard Tools

Jun 22, 2009

I made a mistake with lvm2 on centos 5.2.

I used parted to create a partition inside the logical volume, and then merrily used that partition, which appeared as /dev/pv-whatever/lv-whateverp1

Of course I created the FS as ext3.

So, after a reboot, I can't access anything in that logical volume with standard tools, as /dev/pv-whatever now only has the lv-whatever special file inside.

I can look inside the LV with parted fine, but parted can't copy ext3 filesystems.

Is there any way to get the data out of a partition created INSIDE a logical volume if that filesystem is ext3?

View 1 Replies View Related

General :: Division Of Logical Memory Space In To User Space And Kernel Space

Jan 4, 2010

Logical Memory Space of 4GB is divided in to 3GB User Space and 1GB Kernel Space. Always. Correct?

1. How can we change it? (just changing value of PAGE_OFFSET is okay?)

2. If system have only 256MB of memory (embedded system) and suppose Kernel Modules eat away all the memory during boot. User space will be left will no memory. Is this case possible?

View 2 Replies View Related

General :: LVM - Adding New Disk Space To Volume Group?

Feb 7, 2011

I plan to install a server using LVM. I thought a partition schema where /boot would be in an ext4 partition while / /usr /var /home and /opt would be in the LVM. My question is: if I'm putting / into the LVM, is it necessary to divide /usr /var /home and /opt into different logical volumes? If I divide them, would it become harder to maintain when new disk space has to be added to the volume group?

View 7 Replies View Related

Software :: Extend Physical Volume Disk Space From One To Another?

Sep 16, 2010

Is is possible to extend physical volume disk space from one to another?

Quote:
PV VG Fmt Attr PSize PFree
/dev/sda1 Zeus-extra lvm2 a- 149.05G 17.05G
/dev/sdb1 Zeus-misc lvm2 a- 394.96G 274.96G

Could I get 50GB from /dev/sdb1 and add it to /dev/sda1 ???

View 1 Replies View Related

Fedora :: LVM Not Showing Correctly - Takes Up More Disk Space Than The PV

Jul 28, 2011

I've just managed to compress my LVs, extend my VG to my new SSD, move the LVs to the SSD and remove the old disk from the VG. All is well and good (mind you, I did kill my /home partition but it's sorted now...)

My next step was to shrink the PV (I think that's what I want to shrink?) so that I can add another partition to the SSD (to reduce compile times). See below for my current setup. I have a 35G PV with LVs totalling around 33G but the "partition" of the LVM is still 58G.

Code:

View 4 Replies View Related

General :: Can't Mount Volume And Won't Recognize Seagate Expansion Drive

Oct 21, 2010

it says cant mount volume and wont recognize my seagate expansion drive after I had the seagate plugged in to a windows pc! It says something about using command line to fix it but I'm new to Linux and don't know what to do!

View 1 Replies View Related

General :: Move / Copy A Logical Volume From One Volume Group To Another?

Dec 1, 2010

I'm rearranging a bunch of disks on my server at home and I find myself in the position of wanting to move a bunch of LVM logical volumes to another volume group. Is there a simple way to do this? I saw mention of a cplv command but this seems to be either old or not something that was ever available for linux.

View 2 Replies View Related

CentOS 5 :: Redistribute A Disk Without Loss Of Data Namely It Is Necessary To Make / Boot And Two Equivalent On Disk Volume?

Aug 24, 2009

There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.

View 3 Replies View Related

General :: Write A Workable Script That Demonstrates That Variable Expansion Occurs Before Pathname Expansion?

Jul 23, 2011

how do I write a workable script that demonstrates that variable expansion occurs before pathname expansion

View 14 Replies View Related

CentOS 5 :: Install CentOS 5.2, And The Installation Ran Out Of Disk Space After Running For About 2 Hours?

Feb 18, 2010

I am trying to install CentOS 5.2, and the installation ran out of disk space after running for about 2 hours.I checked the FAQ, and it said 1.2 GB. The disk is 3 GB. The default install was selected, and I think that it checks for sufficient available disk space before installing. Still, it ran for quite a while before announcing that it was out of disk space.The Installation Guide is not very helpful, since there is a blank page where the disk space requirement is supposed to be. I just picked the default installation. A search of the forums on "not enough disk space" did not return much.

View 13 Replies View Related

Ubuntu :: Volume "filesystem Root" Has Only 474.8 MB Disk Space

Apr 25, 2010

When I logged in today I got this message:

The volume "filesystem root" has only 474.8 MB disk space remaining

What does this mean??

View 5 Replies View Related

Server :: Use System Monitor Via A VNC Connection The Free Disk Space Value Is 20GB Free On The Same Volume

May 18, 2011

I've got a question on free disk space. I'm currently running CentOS 5.5 on in Xenserver virtual environment. We've had an issue with disk space. My question is as follows: - from a ssh connection i run df -h this gives the value of 90% used leaving me with 9GB. If I use system monitor via a VNC connection the free disk space value is 20GB free on the same volume. Which one is correct? I do use SNMP to monitor the same volume and should alert me when < 10% is free I know this works as I set the alert threshold to < 90% I get an alert.

View 2 Replies View Related

CentOS 5 Server :: Mount Disk In Single Volume?

Jun 24, 2009

I dont know if this is possible or not but here what I would like to do. I have 6 linux server and each has 100GB disk space. All of these 6 box are compute nodes and space are not used really. However, If I can combine 6 servershard disk that will in total 6*100GB gives you quite a bigger space. Is there any tool or ways to mount these drive in one volume instead of mounting individually ?

View 2 Replies View Related

CentOS 5 Hardware :: Map Four Hard Disk As Single Volume?

Jul 1, 2010

I need to install a voice recording application on a server.My problem is that I have four hard disks with 150 GB storage space each. So I have 150*4 = 600 GB Storage available as whole .I need all four hard drives (600 GB ) as single volume to store and retrieve recording .

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved