Red Hat / Fedora :: Reduce The Size Of LVM Partition Without Loosing Home Directory Data?
Jun 3, 2009
I have a home directory which is mounted on the LVM partition,How can i reduce the size of LVM partiotion without loosing the data on home directory...whenever i use lvreduce command it show me a warning mesg that the whole data will be lost...reducing the size of LVM partition without loosing my home directory data.
I have a rack of four 1TB drives all partitioned identically with three primary partitions. On each drive
- the first partition is only 64MB; - the second is a large 900GB partition and - the last holds all the remaining space
mdadm has been used to set up /dev/md0 - RAID1, comprised of /dev/sda1 and /dev/sdb1 /dev/md1 - RAID5, comprised of /dev/sda2, /dev/sdb2, /dev/sdc2, /dev/sdd2 /dev/md2 - RAID5, comprised of /dev/sda3, /dev/sdb3, /dev/sdc3, /dev/sdd3
OK, so it was a silly mistake to make - but I am now need to increase the size of /dev/md0. My thinking is to reduce the size of md1 so that I can grow md0.
On md1 I have two logical volumes. I've successfully reduced the size of the volume so that I can reduce the size of md1. Now I'm at the nervous stage; I can find little written on the topic of shrinking RAID5 arrays - and even if I do this I'm unsure if I can move partitions around to regain the space I so desire.
i have /var mounted on /dev/sda4 which consists of 38 GB i want to get 8 GB from /dev/sda4 as this partion will remain of 30 GB.how can i get 8GB in such a way that my OS will not hurt.
I'm all new to linux. I've got Fedora core 12 - I'm ex windows user. I have these 3 websites to maintain: These are in finnish language. So called pikalaina sites: pikalainat pikavipit vipit
And I have to add pictures to these pages. I don't know how to do even that I don't know web programming or HTML. But my images are about 1 mb in file size - I use to have windows and photoshop and there is this save for web feature where file size is reduced.I have this GIMP -program now - it's terrible compared to photoshop, but it's free. In GIMP there is no feature how to reduce file size for ex. 1mb to 20 Kb. How do I do this? Do you know any good program to do it?
I saw Gnome version 3 in gnome website. It is looking nice. Can i get that in F14? What is the version of Gnome in F14? How to reduce the desktop icon size in F14?
I have just spent dome time using gparted to sort out my partitions. I have a vista partition, a fedora one and a big chunk of unallocated space I wish to use as my data drive.
I want to move my ~ folder to the new partition and have windows/vista access the folder and write to the Documents, Downloads folders etc.
What is the best format to use?
Also I plan to start backing up my partitions to a server, for instance using g4l to save a linux image (maby a windose one too). Is there any benifit in keeping all the hidden files (ones starting with period '.') i.e moving the whole ~ folder or would I be best off leaving the ~ dir and moving the folders I know i use such as ~/Downloads, ~/Documents etc?
And how should i preform the move of all these files? 'mv'? do i need to add any special options?
My laptop has 2Gb of ram, 4Gb of swap, 40Gb hdd and an intel pentium 1.40GHz cpu, even when compiling stuff or maxing out everything the 4Gb of swap is never touched, with such a small hdd I'd like to reduce the swap to about 2Gb (just in case) to free up some space, does anyone know what commands/tools are available to accomplish this?
The icons in the applications pane are very big, I need to scroll multiple times inorder to reach the last program. How to reduce the icon size, so that all the installed programs can be visualized without to much scrolling?
I'm new to Fedora 14, vmware player. After getting Fedora up and running in VMware player. The disk size was 2.7 GB. After three hours of working with it, the disk size has bloated to 4.3 GB. I havent added software to account for the near doubling in size. How do I reduce the size back to 2.7GB range or lower. Im new to Fedora and superuser controls. Im removing more software than adding software. Is this a VMWARE problem or Fedora problem?
I have a separate ext4 partition which contains all my data (music, movies, etc). When I delete files from this partition it is very slow because it copies files from my data partition to the Trash folder in my home partition. How can I avoid this? Can't the trash be configured so that it uses a trash folder in each partition instead of copying files to another partition (which is slow).
I need to increase the size of my /home directory. I am working with Ubuntu(2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 i686 i386 GNU/Linux
I checked the partitons with df -h command...the output is :
Clearly /usr has loads of space here...and I dont know /home is mounted with which partiton...I read somewhere that tune2fs command could be useful here...I dont want to experiment and mess up here..
What is the minimal size for a home directory?I did a manual partition install in VirtualBox. My vdi had these settings: RAM = 500MB & HDD = 10GB.Does this look correct.I am never certain as to the options for Primary, Logic, Beginning and End.Does it matter the order in which you make partitions in Ubuntu?
What's the size of your /home partition? I'm thinking about 1~2 GB, but then there is Wine's C drive. Is it good to move the C drive folder on another partition and pointing to it with a symbolic link?
my CPU passed away, got a new system, installed a new 9.04 and blew it up to studio. have 2 new disks and my old raid 0 lvm. mounted is ( lvdisplay) , user rights fixed fine. I do have my old login name and passwd in a book. How can I open the data it was the old encrypted home directory. I have an icon "Acess your private Data" and something called link to Acess Your private data. There I can read link (broken) so the broke link is sorted out, as i do have now a directory in my home with the same name as it has been, /home/coconews/ and that is fine
I recently used D�j� Dup for the first time. I chose to backup my home folder and most dot folders (do most of you backup all your home dir dot folders?). Even though D�j� Dup uses gpg, is there any sensitive data stored in dot folders within my home directory?
BTW, I did an incremental backup up to an older D�j� Dup backup folder on my NTSF external HDD and got an error. Is this because it is NTFS? I then did an incremental backup to a backup folder on my PC (ext4) and got no error. In the picture attached, would that setting mean the backup will continue to grow to a huge size? Would it be better to keep backups for a week?
I had a student, and she has done some work on her account on my lab computer, but has left the country and is un-contactable.
I have full administrator privileges for this machine, and it is running Ubuntu LTS 10.04
She has a folder which was copied from a windows formatted external hard drive (Probably NTFS) onto her home partition on my machine.
I can open all of her files, except for those in this folder.
As I see it the problem is either something to do with the permissions of the files (coming from NTFS), or some kind of Ubuntu security that I am unaware of?
want to install 11.2 version. my machine config is as belows. pentium 4 with 1.8 gz, 512 ram and 15 gb hard disk. i want to know what should be the partition size specially for swap, root ,home etc.and what version i.e genome or kde should i install.
whenever I try to download anything I get the error there's not enough space on my home partition; thus I was wondering if anyone would be able to tell me how to increase its size? I'm using ubuntu via vmware workstation.Here is the output of df:
Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 254964 0 254964 0% /lib/init/rw varrun 254964 52 254912 1% /var/run
When running the umount command like this as superuser: umount /dev/sda8. get the following message:umount: /home: device is busy.(In some cases useful info about processes that usethe device is found by lsof(8) or fuser(1))
I want to install Ubuntu side by side with Windows. I have a big NTFS partition that has a folder with the same name as my username (let's say "joe"). Inside "joe" I have my personal files. Outside "joe" but still in the partition, there is random stuff that doesn't really belong anywhere, or now useless programs that I had to install there because the main Windows partition ran out of space. If during the Ubuntu installer I choose to use that partition as /home and make a user called "joe", will everything work fine?
I am running ubuntu 11.04 I'd like to encrypt my home folder. - how can it be done, without creating new user/starting from scratch. -I'd like to keep all the files and desktop settings - the only change should be that the folder is encrypted now.
Around six months ago (last time I reinstalled Ubuntu 9.10), on a whim I decided to check that option to "encrypt [my] home directory". I wanted to see what it was like. Mistake. Since then, I've been unable to figure out how to access the data in my home directory using any method besides booting the computer (usb drive, rip-out-and-stick-it-in-an-enclosure, etc.). Specifically, I find that shell script sitting there that tells you to run it in order to see your files, but it gives some kind of error. I also still have the code Ubuntu tells you to write down in order to decrypt your files.
Fast forward to this past week. I brought in the laptop to Best Buy for repairs to the hinge (the hinge! Ace Hardware could fix this problem! But I wanted to make full use of the service plan.), and I got a phone call a few days later, saying that it hit Best Buy's "No Lemon" policy. They were going to keep my computer and give me in-store credit toward a new one. Of course, I refused to pay ~$70 for them to back up my data for me; what could possibly happen to it when they were fixing a hardware problem?
Anyways, I pleaded with them for my hard drive back, and they said that they could ship the hard drive back to the store so I could get my data off of it. I'm planning on going in there with my external backup hard drive and an external enclosure and doing it myself at the counter (If they charge $70 to back up a Windows partition, how much more will they charge for an encrypted Linux one?). I don't want to embarrass myself by standing around and not being able to get into my own data.
Hello everyone! I use UBUNTU 9.10 (karmik). But I am totally disappointed!!! Everything is too slow! I want to install UBUNTU ULTIMATE 2.0. Can I do that without loosing any data? (music, movies, etc) Do I have to store my data in another HDD?
I created a partition in my hard disk for my data (documents, multimedia, etc.).How can I:Move the /home/ directory to the new partitionMake the OS (Ubuntu Linux) treat that directory as the default /home/.
I am trying to move my home directory from my install partition to a new partition. I cloned my installation from a previous ~78 gb HD using g4l to a new 250 GB drive. Now that I am using the new drive i created a new partition to used for files called "files". New partition is sda3 and the boot partition is sd1. I am trying to follow this guide [URL] but I am having no success.
The output of: Code: find . -depth -print0 | cpio --null --sparse -pvd /media/sda3 is
Code: pio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1381.tmp: Cannot open: Not a directory cpio: `/dev/sda3' exists but is not a directory cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1336.tmp: Cannot open: Not a directory cpio: `/dev/sda3' exists but is not a directory cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1387.tmp: Cannot open: Not a directory cpio: `/dev/sda3' exists but is not a directory .....