General :: LV Reduced In VG Now / Reduce The FS And Partiton Size Of The PV?
Oct 18, 2010
I have a HDD that has 2 partitions. the 2nd partition is the VG and I want to reduce its size. I have reduced the Largest LV in the VG and now have free space in the VG. But, I am clueless on how to proceed to reduce the partiton size so that I can use it for another need.
When done, I expect to have 3 parttions total on the HDD. But first, I could some help in understanding the steps necessary for me to take, to move the free space out of the partition that has the Volume Group. Then, i can use fdisk on that 3rd partition for my needs.
I already know how to expand a Volume group by adding PVs, but, I do NOT know and cannot find how to reduce it to recover the free space in the VG to be used in a new partiton. (Better explained..."I want to reduce the physical partition size that the VG represents.)
View 5 Replies
ADVERTISEMENT
Feb 14, 2010
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.
View 1 Replies
View Related
Sep 18, 2009
I have 3 Ubuntu installations & a PCLINUXOS, plus Windows XP installed on one hard disk. I still can boot to each one of them and can mount each one using Ubuntu.
The problem "may" have occurred when I reduced the size of some linux partitions using gparted. I still have plenty of space in each of those partitions.
When I started gparted all of the HD was unallocated. I did that from each ubuntu installation and the PCLINUX installation, plus LIVECDs. All indicated the space was unallocated.
When I did an fdisk -l from a Puppy Linux LiveCD I got a normal start and ends of each partition.
When I tried it from Ubuntu installation or live cd, I received the following types of responses:
Code:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5
Disk /dev/sda5: 28.5 GB, 28566397440 bytes
255 heads, 63 sectors/track, 3473 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
ubuntu@ubuntu:~$ sudo fdisk -u /dev/sda5
The number of cylinders for this disk is set to 3473.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Plus the Windows partition seems to go over its limits.
Since all of my OS installations are still working, I don't know how critical this is. From reading another post, I understand this might be able to be fixed by making some changes in fstab.
View 2 Replies
View Related
Oct 31, 2010
How to reduce the size of a file. Is truncate related to this?
View 12 Replies
View Related
Aug 15, 2010
I have copied some vides from my camcorder and the size seems a bit excessive - 140mb for 3 mins! Is there a program I can use to save the .mp2 file as .mpg and reduce the size?
View 2 Replies
View Related
May 10, 2010
I need to create a temporary Filesystem and the only way to do it is to reduce /var and create a new filesystem 3GB size
Code:
df -h
/dev/mapper/VolGroup00-var
9.7G 1.5G 7.8G 16% /var
my question is according to google search I need to umount the filesystem point in order to reduce its size.... so it means I will require that nobody uses the system? since /var logs a lot information?
I also have the option to reduce /root but I think is more complicated.
so what are the precautions in order to reduce /var/?
View 6 Replies
View Related
Oct 15, 2009
I have the following HDDs in an LVM2 configuration on an F10 box running Mythtv :-
# pvscan
PV /dev/sda2 VG VolGroup00 lvm2 [297.88 GB / 0 free]
PV /dev/sdd1 VG VolGroup00 lvm2 [931.50 GB / 0 free]
PV /dev/sdb1 VG VolGroup00 lvm2 [298.06 GB / 0 free]
PV /dev/sdc1 VG VolGroup00 lvm2 [931.50 GB / 0 free]
Total: 4 [2.40 TB] / in use: 4 [2.40 TB] / in no VG: 0 [0 ]
The system never uses more than about 250GB of HDD at any one time, so I would like to remove /dev/sdd1 and /dev/sdc1 from the LV and then from the machine and leave /dev/sda and /dev/sdb alone.
Does anyone know that if I use the command "system-config-lvm" to reduce the total LVM size to say 580GB, whether all data is preserved (I don't have any way at this stage to backup up 250GB of data, unless I buy more HDDs and that is the whole point of this exercise anyway - remove the two terrabyte drives to be used as backup disks).
Once I am happy that the data is safe, I will use "pvmove" and "vgreduce" to remove both terrabyte drives.
View 8 Replies
View Related
Jan 3, 2011
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?
View 1 Replies
View Related
Jul 7, 2010
I made 272 Photos from one book. Total size was 920MB. I used than gscan2pdf to create pdf document, and reduced there quality size. Result 116 MB. Than i converted it to grayscale [URL] with:
Code:
gs -sOutputFile=grayscale.pdf -sDEVICE=pdfwrite
-sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH color.pdf
Result: 108MB
Is it anyway possible to reduce size more? Something like Google does with their books?
View 5 Replies
View Related
Aug 1, 2010
i m using ubuntu 10.4 version and i want to knw that is their any software or something else so that i can resize my images from 2 mb to in kb as my image folder is of 614 mb and i want to put that folder images in my mobile so how can i reduce the size of that folder
View 8 Replies
View Related
Feb 17, 2010
I was cloned an entire disk (with one NTFS partition of 70GB, only 15GB used) using ddrescue with the following command...
Code:
ddrescue --no-split /dev/sda /media/usb250/ntfs.img /media/usb250/ntfs.log
The img file it's around 70GB. Now I want to restore it to another computer with 30GB of space. How can I reduce the size of img file?
View 13 Replies
View Related
Aug 27, 2010
I have a server with 2 harddisks, configured a one logical LVM block. I would like to reduce the total footprint and remove the 2nd harddisk.
What is the best way to do this? I understand that Gparted has yet to support LVM.
My details as follows:
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
282G 11G 257G 4% /
/dev/sda3 99M 12M 82M 13% /boot
[Code]....
View 3 Replies
View Related
Mar 11, 2010
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?
View 8 Replies
View Related
Sep 25, 2010
Is there a way to clean (reduce size of) the abrt cache (/var/cache/abrt)? Perhaps something similar to "yum clean all"?
View 1 Replies
View Related
May 12, 2011
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?
View 4 Replies
View Related
Feb 9, 2011
the default icons on the gnome desktop are quite big in size.. how to reduce default icon size ?also I want to know if there's a similar tool like msconfig to manage start-up programs in Ubuntu?
View 4 Replies
View Related
Mar 2, 2011
I'm new to Ubuntu Netbook Remix. I love it. I'm using it for web dev with a LAMP and Rails installed. Everything is peachy.I would much prefer the icons in the launcher to be a lot smaller though, anyone have any idea how to scale them down? I reckon about 75% the size they are now would be about perfect.
View 2 Replies
View Related
Mar 26, 2009
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.
View 2 Replies
View Related
Apr 30, 2016
I installed Debian 8 Jessie with full disk encryption and chose to have everything on the same partition. After install, I notice that my 8GB laptop has a 16GB swap. Is there a way to reduce the swap to 8GB (or maybe 4) whilst not affecting the encryption?
I have a 1TB HDD so space is not an issue but I dislike such waste. The setup used LVM.
View 2 Replies
View Related
Aug 21, 2010
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?
View 3 Replies
View Related
Jun 7, 2010
I have rendered out less than two minutes of High Definition animation to Avi-Jpeg Format in Blender. Now, I have this 2 GB file. Going at this rate, it's going to take a whole DVD set to play a 15 min movie.
Surely, this file doesn't need 2 GB just for 1:45 min/sec, right? Even at high def? How do I reduce this file size down to like a manageable number, say, 20 miB?
View 2 Replies
View Related
Jul 31, 2010
i am looking for an image manipulator that will run on KDE and lets me convert hundreds of jpgs (> 1 MB each) at once into an emailable size like 50-200 kb each, so i do not have to do that for every picture, one by one.
View 3 Replies
View Related
Aug 23, 2010
Can the size of the Ubuntu desktop window be reduced so that it displays on a monitor or via a data projector with a surrounding black border? If so, how? The tragicomic chain of events which leads to the question is as follows. Community group, short of cash, want to equip lecture room. Pull-down screen is set up permanently on one wall. Contractor sets up old data projector via ceiling mount. Data projector is just too far away from wall, such that image cannot be reduced sufficiently by the data projector to fit on the screen.
Annoyingly the image, as displayed, is only slightly too large - just enough to lose the top and bottom panels, Applications menu, File Menu on full-size windows, Indicator applet, Trash, and restore desktop button. The data projector is hooked up via VGA cable to a recycled PC running Ubuntu 10.04 with proprietary NVidia driver (version 173) for GeForce 8400 GS. I'll give anything to be able to do this on the PC, rather than having to move the projector!
View 3 Replies
View Related
Jun 29, 2011
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?
View 14 Replies
View Related
Jan 13, 2010
I would like to reduce the font size of all menu entries in all common applications (e.g. Terminal, Firefox, File Browser,...).
View 1 Replies
View Related
Jan 21, 2009
I have been asked to investigate some of our servers that run tripwire 2.3.0 on Red Hat Linux Advanced Server release 2.1AS (Pensacola)
We have the reports emailed to us using cron and twprint -m r -r report -t 4, it has been growing steadily and today it was 9mb It seems the database records go back to before 2004 and are being compared against today's files.
I really need to be informed what needs to be done to tripwire to keep it serviced through cron. I have tried to google this but could not find any information that seemed to answer my questions.
Looking at the following guide url step 6 talks about "Updating the Database after an Integrity Check" using
Code:
# tripwire --update --twrfile /var/lib/tripwire/report/<name>.twr Should I be using this command or should I be re-creating the db every month or so and using the #tripwire -init?
Extract from report -
Quote:
-------------------------------------------------------------------------------
Section: Unix File System
-------------------------------------------------------------------------------
Rule Name Severity Level Added Removed
Modified
--------- -------------- ----- ------- --------
Invariant Directories 66 0 0 0
code....
I need to understand how to change the expected to the observed so the db will be up to date.
I would also like some of the rules explained:What does removed and added mean? Is it removed as it has not changed and added if it finds a new one that has?
Code:
-------------------------------------------------------------------------------
Rule Name: System boot changes (/lib/modules)
Severity Level: 100
-------------------------------------------------------------------------------
----------------------------------------
Added Objects: 3075
----------------------------------------
code....
View 1 Replies
View Related
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.
View 1 Replies
View Related
May 9, 2010
I've used ext2ifs drivers to mount my ext3 partition in winxp, but I don't have write acces, it's mounted in a read-only mode, and i didn't check the rad-only box during the installation of the drivers.I've used help from the official site http://www.fs-driver.org/and this tutorial http://www.dedoimedo.com/computers/l...s-windows.html
It's a straithfoward proces so I dont understand what I did wrong.I'm using fresh xp install with (more or less) all the updates and ubuntu 10.04Also the partition is mounted at /home, so I dont know if that makes any diferance.
View 3 Replies
View Related
Sep 9, 2010
how do I mount a SafeBoot encrypted Windows partition on Ubuntu (10.04)?I have tried all thesemount -t ntfs /dev/sda1 /mnt/windowstried changing fstabtried changing grub.cfgI also installed ntfs config tool but it doesn't detect the windows partitionbut sudo fdisk -l show me the windows partition on /dev/sda1
View 2 Replies
View Related
May 14, 2009
reducing the size of LVM. I did it by using the commands, lvreduce,fsck,resize2fs.After reducing the lvm size, my system is not booting...it is saying file system corrupted error.
View 1 Replies
View Related