Red Hat :: Can Use LVM Now And Add Another Harddisk To Extend / Home Partition
Mar 5, 2011
I have my harddisk partitioned with fdisk. It has seven partitions. I have some important data in my /home partition. The /home partition is almost full. I want to extend the size of /home. Mind you I'm not using LVM. Can I use LVM now and add another harddisk to extend the /home partition. Will I lose my data. Or do I have to re-install linux?
I have a 100GB HD with FC13 installed, default layout with options suggested during installation. I recently purchased a SSD 120GB and move the data the old HD from it with dd if=/dev/sda of=/dev/sdb bs=1M. Since the SSD is 120 Gb, so I should have 20GB space not utilized.
I know there are probably alot of threads about lvm however they aren't addressing my problem. I want to extend the PEs available in a VG. This VG already has LVs and those are active and mounted. From what I read from the manpages of pvresize this should be perfectly possible. Code: pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.
I did the following steps and wonder if anyone has the same issue. THe machine where I am talking about is an ESX VM. 1. Resized the vmdk in ESX (+1G) 2. Let the kernel reread the device geometry: echo 1 > /sys/block/sdc/device/rescan 3. fdisk shows me the new size... so far so good 4. I resize the partition using fdisk (remove, recreate) and gave it the 8e type (lvm) 5. wrote config to disk 6. executed partprobe 7. pvresize /dev/sdc
Here it goes wrong! Pvresize says in the verbose output it sees the same size however at the end it says the pv has been resized. I have seen when I put volumes "offline" using vgchange -a n vg on a test machine, and then try pvresize it seems to work ok. This is against what is in the manual as it says pvresize should work on online mounted volumes.
Trying to clean install 11.2 dual boot with Win xp already installed. How do I create a new home partition, don't want to preserve the existing home partition from a previous attempt. DVD installation and automatic config keeps saving the thing.
Here is screenshot showing my current partition in Gparted. Screenshot-1.jpg What I want to do is shrink the one (Ubuntu) and extend the other (XP) so that that they are more or less the same size. How?
I have a disk partitioned, with windows on on one partition, ubuntu appears to be installed on an extended partition ... and iv run out of space... i need to extend the partition that ubuntu is installed on by 40gb
I have tried downloading gparted... burning it to a cd and then booting from the cd .. but i get upto a message that says use at your own risk then my system just reboots ....
My linux server working with LVM partition and with /boot partition, now my /boot partition is full, now i need to extend my boot partition. can i know how to do it, without any data loss.
I have an Asus eee, it has a solid state drive which has been partitioned with a 4GB and 8GB partition. I installed Fedora 14 onto the 4GB partition but I am running out of space. I have formatted the 8GB partition with ext4 but I am unsure the best way to create more space for the default installation. Can I extend my / partition onto the 8GB partition or possible move the /swap partition onto it?
Is there any way to use unallocated space to extend a partition that isn't close to that partition? there is an image attached, I can extend /dev/sda2 but not /dev/sda1 ( the one that i want to) I used the live cd to run gparted.I had to move /dev/sda2 to to the right and then extend /dev/sda1
I want to run gparted off the cd so that I can extend the ubuntu partition of my computer...I hdownloaded the gparted iso file and burnt it onto a CD...but how do i run the software?.... there appears to be 3 folders on the cd (isolinux, live and syslinux) and two other files 'copying' and 'g-parted live version' - these two are both text files...
For whatever reason /dev/sda3 (at /tydelik) does not mount itself (like all the other partitions) when the system reboots.
In YaST's expert partitioner it says that:
Quote:
An asterisk (*) after the mount point indicates a file system that is currently not mounted (for example, because it has the noauto option set in /etc/fstab).
Here is the /etc/fstab :
Quote:
I don't see a noauto option. Is it hiding somewhere?
Also, if I say the following then it seems that /dev/sda3 is ext2 and not ext3 (as YaST says).
Quote:
Firstly, how do I specify /dev/sda3 to be mounted by default (because I thought it would unless there is a noauto specified), and secondly, why is YaST not showing the same settings as when I say "mount" ?
I am dual-booting 11.04 alongside windows 7. I shrunk my w7 partition, and would like to extend my ubuntu partition to fill up the remaining space. When I boot from GParted live cd, and attempt to 'move/resize' my ubuntu partition, it simply fails. It doesn't really give an error message either, simply 'failed to move/resize [partition name]'
i want to extend my existing partition size,but it should do it without formatting my operating system.i don't have the solution.Is this possible?if possiblsolution.hope somebody should give the answer
Long story short I have windows 7 installed and in an attempt to install ubuntu the existing partition table was erased. What's the safest method to mount an ntfs partition and back up files? Or even write a table to get back into windows to back files up?
My Ubuntu partions /dev/sda4 extended, which contains a /dev/sda5 ext4 and a /dev/sda6 ntfs partition.
Vista is on /dev/sda2 ntfs. I would like to wipe vista out, turn off dual boot (if possible) and use the space taken by vista to extend my /dev/sda6 ntfs partition in ubuntu.
I want to resize my harddisk partition to make it bigger is there a console commands to do this ? I have some free harddisk that I want to ubuntu to use, I have hear that one can use Gpart, but is it also possible achieve the same by using some commands ?
how can I clone my installed ubuntu to a new harddisk? with 32bit ubuntu I have used:tar cvpzf -> create a tar file on my external nas system. after that I have done a restore tar xvpfz - worked with 32 bit.
Alternative I have mounted both disks and via another linux partition I have used: cp -rvbdR /source/* /target
both methodes worked with ubuntu 32 bit. With 64 bit ubuntu I can NOT get it to work. error message after booting the clone: /var/lib/gdm/.ICEauthoriy ..
I can see that /source/var/lib/gdm has different rights as /target - will be part of the problem. This did not happen with the 32 bit ubuntu - but why ?
recently i made a backup of my home directory in 10.10 before reinstalling 10.10. again.This time I chose to manually define the partitions (50GB Root, 25GB Swap, 325GB Home)Now i wish to migrate the old home into the newly installed home, which is on a separate partition.I have found the following documentation URL...Still, as a beginner I am not quite sure about the necessary steps to perform.As the new home is located on a separate partition is it possible to simple delete all directories there and copy all directories from old home to new home with rsync?
Do I have to install all the software that corresponds to the old home first followed by migrating home or first migrating home followed by installing the software such as thunderbird, Texlive2010 etc.Guess that migration should take place at a later stage. Otherwise my old profile files from firefox and thunderbird will be overwriten by new ones?
Been digging around and not finding anything that quite works.
Background: I had an existing 10.10 install and 10.04 on another partition. When I installed the 10.04 I told it to use the existing /home partition which is also being used by the 10.10 install. All good, both users have directories with all their data in the same /home partition.
Issue: So, as the 10.04 was 32bit (experimenting but another story) I decided I would replace with 10.04 64bit. All went well except when I did the manual partitioning I screwed up and instead of setting the existing /home partition to 'use but don't format' - which I think is what I must have done last time - I left it as 'don't use and don't format'. So, obviously, now the new 10.04 install has its /home inside /, which I don't want. I want it on the existing /home partition as it was with the previous 10.04 install.
Question(s): Is there any simple(ish) way of doing this without a reinstall? Not a major problem as I have only just installed and can do it again without losing anything but time, but I would like to figure out a way to do it without if possible.I want to essentially move the /home/user directory (rather than the /home) and make it /media/home/user inside the existing partition. Seems easy enough on the surface but becomes involved as I investigate.Ubuntu 10.04 minimal install with Xfce DE.
i have instaled ubuntu 11.04 wubi on my pc with windows 7. i installed and everything was going ok i navigate on ubuntu already. but the problems star here i went on my ubuntu to the partition section and i format my windows partion to be the home partion and changed the nfts to ext, i did the upgrades but i forgot that theyr running yet and i restart my computer when it boot again it gaves me an error:
try (0,0) : nfts5 : wubildr try (0,1) : ext2 :
and the windows7 says that i have to instal again. so i went to another pc and i made a cd boot and a pen boot. i burned the iso (downloaded from the ubuntu oficial site the 11.04 32 bit version) image to the cd and pen drive prperly, i adjust my boot options to star from usb or cd rom and nothing im struck.
My debian 5 is up and running smoothly and act as file-server in the middle of windows network jungle using samba the only problem is, after backup an external hdd (213 GB) to my /home partition, I end up with message say that I'm running out free space. Fyi my debian installed on 1TB SATA disk, and I separate my /home partition from system what happen to my free space ? here is screenshot of my disk, using disk usage analyzer: is there is a way to get my space back or something missing on my setup.or I have to reinstall my debian and use LVM when partitioning my disk?
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?