Fedora :: Logical Volume Exists After Uninstalling Virtualbox?
May 4, 2011
I (again) ran into trouble since two months i was trying out fedora lovelock "nightly build" in a virtualbox my host is Ubuntu 11.04 (previously 10.10 i upgraded yesterday) (had worked fine .. just was slow because i alloted only 512 MB ram) ... now i uninstalled virtualbox and deleted .virtualbox in home folder, but i couldn't recover my 8 GB space when i installed i made virtual disk fixed storage (my mistake i guess!! ) ) i don't know much about it either .. just wanted to try out fedora 15 so experimented it using virtuallbox ...
i'm running out of disk space (don't have bucks to purchase external hard disk .. otherwise i wouldn't have cared .. also don't have time to do a reinstallation of ubuntu/some other os (may be fedora) on my laptop ...
i just got 24 GB left .. i intend to store a few more movies and songs .. i would run out of disk space fairly quickly ... 8GB would be buffer if i get it back ...
View 3 Replies
ADVERTISEMENT
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
Apr 7, 2010
I have a Fedora 8 system that uses LVM on one of it's drives (/dev/sdb2). One of the logical volumes is getting full (LogVol02). There is an unused, unmounted logical volume (LogVol03) available. I can see two possible options.
1) Mount the unused logical volume (LogVol03) on a new mount point (/home2) and create more space there
2) Delete the LogVol03 logical volume and extend the nearly full volume (LogVol02) into the now available space.
Option 2 seems like the better approach, since it will seem seamless to the system users. I'm looking for suggestions on how I should go about doing this and what I need to look out for. Is it better to use the command line tools (lvm ...) or the GUI (system-config-lvm) to do this?
View 2 Replies
View Related
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
Jul 22, 2011
I've got a big problem. Earlier this afternoon I tried to unlock my screen, but the password dialog didn't appear (the background did, and I could move the pointer, but no dialog). So I restarted the computer, only for the Fedora bootup icon to get about 3/4 of the way full before the screen blanked out and I got the message "Boot has failed. Sleeping forever." I booted into the liveCD and opened the system installer to see if maybe I could just reinstall the system in place while leaving my data intact. When I got to the partitioning stage, my old partition layout was there...except one LVM volume group was totally missing. And this is the volume group that contained my / and /home, among other things. Another volume group sitting on a different RAID was still there, but ironically it was the one for short-term data.
I have three hard drives, using soft RAID and LVM. Each drive is split into 4 partitions. The first partition of each is part of a RAID-1 where /boot sits. The second of each makes up a RAID-5 on which sits my "Main" volume group for my important data (this is the one that has gone AWOL). The third of each makes up a RAID-0 on which my "Volatile" volume group sits (for /tmp, /var/tmp, and the like). The fourth is swap.
Is there any chance I can restore my volume group so my data can be recovered? I'm not sure if I've got the full layout with volume sizes written down anywhere.
View 1 Replies
View Related
Mar 6, 2011
I have a system with a single disk that is partitioned as below:
1) hda
hda1 - boot partition - 0.3GB
hda2 - System - 15.7GB
There are 2 volumes on single group. The boot partion is a physical volume and the system is a logical volume. The disk has more room up to 40GB. How can I extend the logical volume. Tried system-config-lvm, but it does not gives the option.
View 4 Replies
View Related
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
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
Nov 17, 2009
I'd like to clone a partition, and then restore it to a logical volume. I have all three operating systems at my disposal (Mac, Windows, Linux Live CD) What is the best way to achieve this. The partition I am trying to resize is only 200MB, so I can store it on usb if need be.
View 9 Replies
View Related
May 17, 2010
Ok so I have one drive. /boot /lv_root and /lv_swap
At the end of the drive I have 32 gigs of free space still contained in the logical volume group. I want to remove it from the LVG but this is on one device. Supposedly there is a way to do this, pvresize and fdisk.
[URL]
Quote:
Originally Posted by source
#I've tried to shrink the PV with pvresize which didn't throw errors -
Good.
#but fdisk still shows me the same LVM partition size as before.
That's normal. pvresize "just" updates the PV header and VG metadata.
#So I guess the partition table has to be modified somehow?
Yes. That was mentioned in my reply: "Then shrink the partition in the partition table."
You can use fdisk or any other partition table editor for this. Some don't support resizing a partition. In that case, you can delete and create a smaller one. If doing the delete/create dance, you *must* create the new partition on the same cylinder boundary as the current one to preserve the current data.
Ive read from every source on LVM its not possible to do this. Why on earth would any Linux developer put LVM on a single drive system by default? Were they even paying attention? I dont mean to go off on a rant but if there are multiple drives LVM makes sense. However if you only have one large drive LVM holds your system hostage and you have to crawl thru the pit of hell to get it back.
I understand you have a choice in the matter when you install Fedora but its really the worst possible choice for default. Many newcomers to Linux run into this problem with LVM. If you cannot resize LVG's the software should have never been put into a Linux distro in the first place.
View 13 Replies
View Related
Jul 16, 2011
I have a Fedora 15/Ubuntu 11.04 dual boot. In Fedora, I just created a new logical volume. How do I ensure that anything I put in it - all files and folders - will be accessible in Ubuntu? II also want to be able to add files and folders in Ubuntu and then read and write them in Fedora...
Here's the output from "lvdisplay" for the logical volume in question:
--- Logical volume ---
LV Name /dev/fedora/Everything
VG Name fedora
[Code]....
/home/gwyn/Everything is the mount point for the logical volume. I got full access over all files in the LV.
But when I shutdown Fedora and start up Ubuntu, I have to run the same chmod command again. How can I make read/write permissions endure between both distros?
View 14 Replies
View Related
Jun 23, 2011
My LogVol00 has 1 Tb free space. Now I want to share 500gb of LogVol00 to LogVol04. How can I do this?
View 1 Replies
View Related
Jan 10, 2009
I've just upgraded from F9 to F10. I can boot okay but I seem to have lost some data in one of my logical volumes. My drive is organised as follows:
/dev/mapper/main_group-various: UUID="f7c452cf-9f03-4f97-8676-b71b07a812aa" TYPE="ext3" SEC_TYPE="ext2"
/dev/mapper/main_group-root: UUID="173f1845-72c9-49e8-9d49-2a5776c4267c" TYPE="ext3" SEC_TYPE="ext2"
/dev/mapper/main_group-music: UUID="f5411861-4614-4652-a5f5-a3a8c2efcdd3" TYPE="ext3" SEC_TYPE="ext2"
[code].....
The logical volume for work still seems to be there. I presume (and hope) that all the information in /dev/main_group/work is still there. How can the folders in /dev/main_group/work be retrieved?
View 1 Replies
View Related
Aug 24, 2010
I installed fedora 13 64 bit and it works great but I encountered several issues when setting up guest OS with KVM. The problem seems to be related to selinux. But let me first ask question about logical volume. By Default fedora created logical volumes:
[Code].....
"If you expect that you or other users will store data on the system, create a separate partition for the /home directory within a volume group. With a separate /home partition, you may upgrade or reinstall Fedora without erasing user data files." seems to suggest I have to create a separate physical partition and assign that to /home. But reading elsewhere it seems to suggest logical volume acts like a partition. My goal is to make it easy in case fedora is hosed and I have to re-install it without affecting /home where my cirtical data resides. Given above do I need to create a separate physical partition or I am just fine?
I have a second hard disk that originally had windows and all my data. Windows is hosed but I can see my data from within Fedora and Windows is gone and I created created new partition in its place which used ot be the C:/ drive appears as 53 Gb filesystem. My data which was originally D drive appears as 215 GB filesystem. As given in [URL] I want to create a new logical volume in 53 Gb filesystem which I want to use as space for virtual disk to install guest OS's in KVM. Currrently 53 GB filesystem is mounted as /media/3467BH89JK789 but this does not work well with KVM. how do I create this logical volume out of 53 Gb filesystem partition and add proper selinux info and do I add to vg_vostrolx volume group and in a different volume group?
View 1 Replies
View Related
Jan 19, 2011
is lvresize with --resizefs options re-size the Logical Volume and then re-size the file system? i mean we don't need to use resize2fs?I looked at man pages but it doesn't explain this option.
View 3 Replies
View Related
Aug 4, 2010
What is a logical volume? Why should we have them? Is there no need for grub on such a system? All kinds of problems since I tried to install Slackware!
View 3 Replies
View Related
Jul 13, 2010
I have cluster of 3 logical volumes making a filesystem, is there a tool or command out there that could tell me in which logical volume a file is?
View 3 Replies
View Related
Jul 30, 2010
I have 3 harddisks, 1 for system and 2 for data.
To manage it more easy, I tied 2 harddisk in LVM. And I made an logical volume. It used ext4 for it's filesystem.
Today, I wanted to format and reinstall the system. So I booted the system using Ubuntu CD. But managing the partition, I accidently delete the logical volume. Because backup(/etc/lvm) was in itself, I couldn't restore the old config. I just create new logical volume.
As I expected, I couldn't mount it correctly. Mount said that "Mount: Mouting failed A on B! Invalid argument!"
I must recover it, because it has a lot of import data. What should I do?
View 1 Replies
View Related
Jul 14, 2010
Hi. We have a cluster consisting of 10 logical volumes all part of one filesystem. Is there a way to know which logical volume owns a certain file/inode? I have tried what is suggested at this link, but the output is the filesystem and not a specific logical volume.
View 6 Replies
View Related
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
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
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
May 27, 2011
I installed Debian stable and I see these errors in the xsession error file
/etc/gdm3/Xsession: Beginning session setup...
GNOMEKEYRINGCONTROL=/tmp/keyring-j0E6Br
SSHAUTHSOCK=/tmp/keyring-j0E6Br/ssh
GNOMEKEYRINGCONTROL=/tmp/keyring-j0E6Br
[code]....
View 4 Replies
View Related
Apr 22, 2011
I have a raid 5 with 5 disks, I had a disk failure which made my raid go down, after some struggle I got the raid5 up again and the faulty disk was replaced and rebuilt itself. After the disk rebuilt itself I tried doing a pvscan but could not find my /dev/md0. I followed some steps on the net to recreate the pv using the same uuid then restored the vg(storage) using a backup file. This all went fine.I can now see the PV, VG(storage) and LV's but when I try to mount it, I get a error "wrong fs type" I know that the lv's are reiserfs filesystems, so I did a reiserfsck on /dev/storage/software, this gives me the following error:reiserfs_open: the reiserfs superblock cannot be foundNow next step would be to rebuild then superblock, but I'm afraid that I might have configured something wrong on my raid or LVM and by overwriting the superblock I might not be able to go back and fix it once I've figured out what I didn't configure correctly.
View 5 Replies
View Related
Jun 5, 2011
So I just had a quick question on logical volumes and such with ubuntu. I've been looking into setting up a storage array of 4 2tb hard drives for media storage in my house but have ran into a wall with with sort of array i should use, whether it be setting up a full raid system (raid 5 or 10 most likely) or using LVM for stripping. The one thing with LVM however, is that there is no parity or redundancy built into it in case 1 hard drive fails. I was wondering if it was possible to create something similar to that of LVM stripping, but instead the logical volume is sorted into whole individual files, not stripping them across the array. That way, if one drive fails, sure, i lose the contents of the one drive, but the rest of the content isn't lost and I have no loss of space because there is no inherent parity.
View 1 Replies
View Related
Sep 1, 2011
I'm currently on Ubuntu Server 11.04 x86_64 and have configured a logical volume that contains 2x 2TB HDD's and mounted that volume in /data. The OS is installed to the first HDD (a 500GB one). So the system has 3 HDD's in total (1x 500GB OS disk and 2x 2TB data disks).I want to do a fresh install of Ubuntu Desktop on the system without losing the data in the 4TB logical volume currently mounted in /data. Is this possible and if so, how?
View 6 Replies
View Related
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
Jul 7, 2010
I recently resized one of my Logical Volumes that contained 160MB data from 500MB to 6.5GB. After resizing it, I checked the size of the data via 'du -sh' and found that my data had reduced to 143MB.
Fortunately, I backed up the the 160MB of data on another partition before resizing the Logical Volume. I ran 'diff' on both directories holding the 160MB and 143MB, but there was no difference detected.
how come there is a 17MB difference after resizing?
In case you're wondering how I performed my resize, this is what i did:
e2fsck -f /dev/VolGroup01/LogVol00
lvextend -L +6G /dev/VolGroup01/LogVol00
resize2fs -p /dev/VolGroup01/LogVol00
View 5 Replies
View Related
Dec 1, 2010
Is it possible to create a logical volume of 18TB in size? I was able to create the volume group but I'm having issues with the logical volume.
View 6 Replies
View Related
Oct 26, 2010
Back in the day, I foolishly installed my Fedora server with the default logical volume layout on one physical volume. Knowing now that this is a huge waste of space (partition is large) I'd like to reduce the logical volume and somehow detach this now unused space and mount as a normal partition. Is this possible? Only 20GB of the 160GB has been used for the OS. Home partition is on a secondary disk.
View 9 Replies
View Related