Fedora :: Creating Volume Group To Add New Hard Drive?

Oct 16, 2009

This concerns the Logical Volume Manager (LVM).

1) Why would I create a new volume group to add a new hard drive to a system, rather than add the drive to an existing volume group?

2) If I created a new volume group and added a new hard drive to it, would I see the total free space (I see 30 GB now via the file browser)? For example, if I have 30 GB free on the main drive (with the OS), and I add a new drive of say 40 GB in a new volume group (using LVM) would I see 70 GB of free space? That doesn't seem to happen.

View 14 Replies


ADVERTISEMENT

Fedora :: Creating A Hard Drive Image?

Oct 7, 2009

however, I couldn't find a place in which it would really fit well. I have 2 hard drives, that I want to backup. I've heard of servers and things like that using a hard drive image. Is this similar to a disk image? What are the benefits of using hard drive imaging as opposed to using DVDs? And perhaps most importantly: how would I go about it using Fedora 10 (64 bit)?

View 5 Replies View Related

Fedora :: Creating And Mounting Encrypted USB Hard Drive

Jul 12, 2010

I am looking for a guide for Fedora 13 that tells me how to:

1. Create an encrypted partition on an an external USB hard drive

2. Tells me how to setup Fedora to ask me for the passphrase when I plug in the drive

3. Automounts the hard drive to a set location

The guide should deal with the situation that the computer can mount without declaring the external hard drive is not there.At present my attempt at mounting my Samsung Story USB2 hard drives does not meet criteria 2 and 3.

View 1 Replies View Related

Fedora :: Volume Group "VolGroup00" Not Found - Froze Archive Drive

Nov 13, 2009

I have a dual boot system running FC8. I had a problem with an uninstaller on the Windows side that affected both the drives on the Windows and Linux sides. It froze my Linux archive drive. I removed the drive, and was able to boot the Windows side from a recovery disk, but not through Grub. I can't access Grub, but can start the Linux boot process with SuperGrub. The boot process gives the following errors:

No Volume groups found. Volume group "VolGroup00" not found. mount: could not find file system 'dev/root'.

View 4 Replies View Related

Fedora :: Dumb Lvm - Volume Group And Volume Names Are Gone From View

Jan 22, 2011

I don't know much about lvm and I've managed to screw up a drive. I had a 500GB drive with FC14 on it and I wanted to copy over a load of data to my new 1TB that was replacing it. I set up my new install the same way as the old...including the same volume names (error number 1 I think) I successfully mounted the old/500GB drive (using vgscan and vgchange -a y etc.) using a laptop (running FC13) and an external hdd cradle. I could access the files I wanted but this wasn't the machine I wanted to copy them to (I was doing this while waiting for the install to finish on the new drive).

When I tried the same process on the new install I found that having two lvm with the same name meant I couldn't mount the external one. So I opened the disk utility (palimsest) and was going to change the name of the old volume group but it wouldn't let me do that. I then thought maybe I could get away with just changing the name of the partition where the files were and maybe I could add it to the mounted group or something so I changed it to lv_home2. This changed the name of my new/1TB lv_home to lv_home2 as well. So thinking that wasn't the answer I just changed the name of the new lv_home2 back to lv_home.

From that point on I haven't been able to see the old drives partitions (the new volume group still works so far). I has a physical volume but the volume group and volume names are gone from view. When I try to vgscan on my main computer or the laptop I had it working on earlier I get:

[Code]....

View 3 Replies View Related

Fedora Installation :: I2O Controller - No Volume Groups Found Volume Group "VolGroup00" Not Found Unable To Access Resume Device

Apr 8, 2009

Dual PII 400, 512Mb with a Promise SuperTrak 100 IDE Array Controller. At present I have only one drive on the controller, configured for 1 JBOD array. I install FC9 with no problem. New partition is created and formatted, Grub is installed, and then... Grub is found and booted, but then I get:

Reading all physical volumes. This may take a while... No volume groups found Volume group "VolGroup00" not found Unable to access resume device (/dev/VolGroup00/LogVol01) mount: could not find filesystem '/dev/root' I can boot in rescue mode, chroot to the installed system. I changed the kernel boot parm "root=/dev/VolGroup00/LogVol00"

View 2 Replies View Related

Fedora :: How To Reduce A Volume Group

Mar 17, 2011

I have one HD and a VG spanning it's entirety. I resized a LV and freed up 10GB within the VG, but I want the 10GB outside the boundary of the VG so I can install another OS for testing purposes. For some reason I'm not able to do this. I don't know if I understand LVMs correctly. Maybe there can be only one VG on a HD?

View 1 Replies View Related

Fedora :: Extend Volume Group Using LVM?

Mar 30, 2011

Currently, I am at 99% capacity with a 1TB hard drive (sda). I want to add an extra 2TB storage (sdc) by extending the current volume group using LVM.

[URL]

I can see that it is extended from the LVM GUI (System - Admin - LVM). However, when I download anything, the system says I am still at 99% capacity.

Code:

[root@localhost /]# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 cylinders

[code]....

View 5 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

OpenSUSE :: Creating Large Partition In Hard Drive?

Apr 14, 2010

I am so sorry but this is not for me. I cant make this work. I want to install windows xp back in my pc, i just give up with Linux, I lack the expertise to do anything here.

View 2 Replies View Related

Ubuntu :: 10.04 - Creating Complete Hard Drive Backup?

Jul 29, 2010

What is the best way to create a complete hard drive backup to restore and boot Ubuntu in case of a crash? Only Ubuntu 10.04 Desktop is installed on this Dell Hard Drive. I searched the forums but no info and now that my install is running so good I want to protect it.

View 1 Replies View Related

Applications :: Multi Volume Backup Of Hard Drive

Jan 12, 2011

Does anybody know any programs that might facilitate the spanning of a hard drive over multiple DVDs? I would like to backup a windows system that may have become corrupted however; but I don't know how to automatically span the files over multiple DVDs (which is what I'd like to do.) I may or may not use Ubuntu, but does anyone know any good applications for this?

View 2 Replies View Related

Fedora Installation :: F11 - Kickstart Setup For Mirrored Volume Group

Oct 22, 2009

Fedora 11. I am trying to setup kickstart so it lays out a mirrored volume group. I have 2 disks sda and sdb. I want a primary partition on each disk 200mb in size for /boot. This is to be mirrored onto raid device md0 (raid 1). The rest of each disk is to be setup partition which grows to use the remaining space, and is also mirrored (raid 1) md1. Onto md1, I want an LVM volume group called rootvg, and logical volumes set up on there for /, /home, /usr, /tmp etc. I can lay this out manually, and it works fine. However, the code below, which is slightly amended from a previous anaconda-ks.cfg file doesn't work.

Code:
clearpart --linux --drives=sda,sdb --initlabel
part raid.11 --asprimary --size=200 --ondisk=sda
part raid.12 --grow --size=1 --ondisk=sda
part raid.21 --asprimary --size=200 --ondisk=sdb
part raid.22 --grow --size=1 --ondisk=sdb
raid /boot --fstype=ext3 --level=RAID1 --device=md0 raid.11 raid.21
raid pv.1 --level=1 --device=md1 raid.12 raid.22

volgroup rootvg --pesize=32768 pv.1
logvol / --fstype=ext4 --name=rootlv01 --vgname=rootvg --size=512
logvol /home --fstype=ext4 --name=rootlv02 --vgname=rootvg --size=256
logvol /tmp --fstype=ext4 --name=rootlv03 --vgname=rootvg --size=128
logvol /usr --fstype=ext4 --name=rootlv04 --vgname=rootvg --size=3072
logvol /var --fstype=ext4 --name=rootlv05 --vgname=rootvg --size=1024
logvol /opt --fstype=ext4 --name=rootlv06 --vgname=rootvg --size=1024
logvol swap --name=LogVol06 --vgname=rootvg --size=1024

View 2 Replies View Related

Fedora Hardware :: Resize A Logical Volume Group Partition?

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

Red Hat / Fedora :: Extending Root Partition - Volume Group Not Found

Sep 20, 2010

I am trying to extend my / size as its full. Well the volume group is VolGroup00 & logical volume is LogVol00 but when. I run the command vgextend VolGroup00 /dev/sda8. It says volume group not found. Can it be because I have WindowsXP in my /dev/sda1, which falls under same Volgroup??

View 1 Replies View Related

Red Hat / Fedora :: Extend Logical Volume (LogVol) Size In Same Group?

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

General :: Creating Hard Drive Backup Images Efficiently?

Jan 22, 2010

We are in the process of pruning our directories to recuperate some disk space.

The 'algorithm' for the pruning/backup process consists of a list of directories and, for each one of them, a set of rules, e.g. 'compress *.bin', 'move *.blah', 'delete *.crap', 'leave *.important'; these rules change from directory to directory but are well known. The compressed and moved files are stored in a temporary file system, burned onto a blue ray, tested within the blue ray, and, finally, deleted from their original locations.

I am doing this in Python (basically a walk statement with a dictionary with the rules for each extension in each folder).

Do you recommend a better methodology for pruning file systems? How do you do it?

View 2 Replies View Related

Server :: Possible To Stretch Logical Volume / 'home' Over To Second Hard Drive Using LVM?

Oct 4, 2009

Is it possible to stretch the logical volume "/home" over to a second hard drive using LVM? Would this have to be done during the Debian installation or could it be done after the installation is finished? Should I just make a 2nd /home partition?

View 2 Replies View Related

General :: Creating A 1GB File Doesn't Change Free Space On Hard Drive?

Feb 2, 2011

I am trying to create an empty file based on the remaining hard disk space. The problem is that when I create a file that is 1 GB large, the df command shows the remaining space to be only 12 kb smaller than it was before the file was created.

someone@here:/tmp/delete# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 36827144 5031592 29924788 15% /

[code]....

View 2 Replies View Related

General :: Rsync --link-dest Not Creating Hard Links On External Usb Drive?

Aug 24, 2009

CentOS 5.2 64bit 2.6.18-92.el5xen. Use rsync with --link-dest for nightly backups, works well. Was recently asked to start weekly backups to an external drive for off-site storage. The regular syncing works but hard linking seems to be ignored. So the backup is long with no space saving advantage. Here is an example of the command being run:

rsync --stats -axzvl --numeric-ids --delete --link-dest=/mnt/DISASTERBACKUPS/austinBackups/backups/2009-08-21 /AUSTINBACKUPS/backups/2009-08-24 /mnt/DISASTERBACKUPS/austinBackups/backups/

View 4 Replies View Related

Fedora Installation :: EIDE Hard Drive Recognized As Sda Hard Drive

May 1, 2010

Trying to install Fedora 12 using the 6 CDs. Trying to install on an older x86 box.Problem is that when detecting my hard drive, Fedora 12 recognizes it as a sda hard drive instead of hda hard drive. I have no SCSI connected to my computer what so ever. It's an old fashion PATA Western Digital hard drive.If I proceed with the install, Fedora 12 only installs 200MB of the OS from the first CD only. No options for additional software or anything.

View 1 Replies View Related

General :: How To Split Volume Group

Oct 15, 2010

i have created two physical volumes, later added volume group to it and then created logical volume and formated the logical volume n mounted it on directory now now i wanted to split the volume group but am unable to do it.If i tries it error msg displayed as existing volume group is active and i have to inactive that volume group

View 4 Replies View Related

OpenSUSE :: Creating Contacts Group In Kontact - Kde 4.6

Feb 16, 2011

After updating to kde 4.6, when I try to create a contacts group in kontact, it doesn't suggests anymore the contacts that match the letters already written. So, I have to write the complete name and the complete email address. Apart from the annoyance, it is a source of mistakes...

View 6 Replies View Related

Debian :: Encrypt A Volume Group - By Using RAID Under

Jul 10, 2010

After months of using Lenny & Lucid Lynx without issues, I come back to the good existential questions.

I'd like a completely encrypted disk (/ and swap) in addition to the Xp partitions (not that safe but I'll switch completely to Linux once I have solved everything.

1. I create an ext4 partition for /boot
2. One other (/dev/sda7) that I set for encryption,
3. On top of that, I create a PV for lvm2,
4. I add to a VG,
5. I create / & swap in the VG.

However, if I add a hard drive, I will have to encrypt the main partition, add it to the VG & then expand /. So I'll need 2 passwords at boot time to decrypt.

So I'd like to:

-Encrypt the VG directly, it would solve everything but no device file appears for the VG, only the PV and th LV.

-After hours of search, I couldn't find a solution for a single password...

Maybe a hope with a filesystem like btrfs in the future providing encryption, but I'll still have to create a swap partition out of it (or create a file for swap but no hibernation possible).

View 3 Replies View Related

General :: LVM - Multiple Installations In One Volume Group?

Apr 18, 2011

I am not familiar with LVM at all, although I have successfully got it up and running in Slackware. What I would like to know is, could I create one Volume Group in a Physical Volume consisting at the moment of just one disk, and install separate Linux releases into Logical Volumes in this solitary VG? So, for example:

/dev/sda1 = Physical Volume
volgroup = Volume Group
lv01-root = Slackware root

[code]....

View 3 Replies View Related

General :: OS Is Not Start Because The Volume Group Is Not Exist?

Feb 28, 2011

I have RHEL3 on of my old system.the OS is not start because the Volume group is not exist.
The single mode is not work either.the onlly shell i have is by rescue mode.and either the sysimage is not exist!should i use vgimport command?how ?I never use this command before?!?!
Part of the error that i received during start the OS is :

vgscan --ERROR "vg_read_with_pv_and_lv():current PV cant get data of volume group "vg00" from physical volume(s)
vgchange -- no volume groups found

[code]...

View 1 Replies View Related

Server :: Raid6 - How To Extend Volume Group

May 16, 2010

I'm running debian and used mdadm to setup up a raid 6 array with 4x1TB drives with roughly 1.86TB's available with lvm. Then I added 4x1TB drives to the array. So now I have an 8 drive raid 6 array with 5.+TB's available, the array sees all available space. The question is how do I extend the volume group so that it uses the whole raid and not just half of it. As of right now the volume group is only 1.86TB's.

View 6 Replies View Related

Red Hat :: RHEL AS4 Not Booting Up - Volume Group Not Found

Jan 18, 2010

I have run into some serious problems trying to start up RHEL AS4. I am trying to install Oracle on this box which by the way is running as a guest OS through VirtualBox. I was running with it fine yesterday. I was doing the prerequisites of updating the /etc/sysctl.conf file with additional kernel parameters. Prior to that I added another scsi virtual disk and extended a PV and left it at that for the night. I am since come back today and trying booting and am getting the following errors:

Volume group "VolGroup00" not found;
Couldn't find all physical volumes for volume group VolGroup00;
Couldn't find device with UUID "Some UUID of the device";
ERROR: /bin/lvm exited abnormally! (pid 318);
mount: error 6 mounting ext3;
mount: error 2 mounting none;
switchroot: mount failed: 22
umount /initrd/dev failed: Z
kernel panic - not syncing: Attempted to kill init!

I have tried running in rescue mode and it can find volume group VolGroup00. I also have installed Storage Foundation which includes veritas volume manager and other various veritas components. Does anyone have a clue what I am supposed to do here to get RHEL up and running again? I am running kernel version 2.6.9-42.EL if that helps as well.

View 3 Replies View Related

CentOS 5 :: Boot - Volume Group Not Found

Oct 5, 2010

Before creating this topic I googled a lot and found lots of forum topics and blog posts with similar problem. But that did not help me to fix it. So, I decided to describe it here. I have a virtual machine with CentOS 5.5 and it was working like a charm. But then I turned it off to make a backup copy of this virtual machine and after that it has a boot problem. If I just turn it on, it shows the following error message:

Activating logical volumes Volume group "VolGroup00" not found Trying to resume from /dev/VolGroup00/LogVol01 Unable to access resume device (/dev/VolGroup00/LogVol01) ... Kernel panic ...! During the reboot I can see 3 kernels and if I select the 2nd one the virtual machine starts fine, it founds the volume group etc. (But there is also a problem - it can not connect the network adapters.) So, it is not possible to boot it with the newest kernel (2.6.18-194.17.1.el5), but it is possible with an older one (2.6.18-194.11...)

I looked into GRUB's menu.lst and it seems to be fine. I also tried #mkinitrd /boot/initrd-2.6.18-92.el5.img 2.6.18-92.el5 no luck! Yes, I can insert DVD .iso and boot from it in "linux rescue" mode.

View 18 Replies View Related

CentOS 5 :: Remove A Volume Group / Array?

Nov 16, 2010

I'm trying to do a disk upgrade on some servers. They are using LVM with DRBD on top and each LVM volume contains a Xen image. I have already created identical volumes on another volume group, copied the data and pointed DRBD to the new source (Which seems to have worked).

What I am unsure of is how to safely remove the disks. The disks are an Areca Raid 1 array and support hotswap. Can I just pull them out of the machine or is some sort of command needed to tell LVM or the kernel to disconnect from the physical array device? Is removing the raid array from the Areca management GUI first a good idea?

View 3 Replies View Related







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