CentOS 5 :: How To Reduce Partition Size (LVM)

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


ADVERTISEMENT

Server :: Reduce RAID5 Partition Sizes / Reduce The Size Of Md1 And Grow Md0?

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

Software :: Reduce Size Of A Partition / Dev/sda4 Contain / Var?

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

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.

View 1 Replies View Related

Ubuntu :: How To Reduce PDF File Size Little Bit More

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

Ubuntu :: Reduce The Size Of Image?

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

General :: Reduce The Size Of A File?

Oct 31, 2010

How to reduce the size of a file. Is truncate related to this?

View 12 Replies View Related

Software :: Reduce The Size Of Img File?

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

Fedora :: How To Reduce Picture File Size

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

Fedora :: Any Way To Reduce Size Of ABRT Cache?

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

Fedora :: How To Reduce The Desktop Icon Size In F14

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

Ubuntu :: Reduce Default Icon Size?

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

Ubuntu :: Reduce Launcher Icons Size?

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

General :: Use To Save The .mp2 File As .mpg And Reduce The Size?

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

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

General :: Reduce /var Filesystem Size - Impact?

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

Debian :: Reduce Swap Size On Encrypted Drive?

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

Fedora :: Reduce Size Of Swap To Free Up Some Space

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

Ubuntu Multimedia :: Reduce Avi Video File Size?

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

Ubuntu Multimedia :: Reduce Size Of 100 Pics In 1 Folder At Once?

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

Ubuntu :: Reduce Desktop Window Size Within Screen?

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

General :: LVM2 On F10 - Reduce LVM Size And Remove 2 HDDs?

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

Fedora :: How To Reduce Application Pane Program Icon Size

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

General :: Reduce Fedora's Disk Size In VMware Player?

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

Ubuntu :: Reduce Menu Text Font Size For (all) Apps?

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

Software :: Tripwire Reports Huge In Size / Reduce / Prune Them?

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

CentOS 5 Server :: How To Increase Boot Partition Size

Feb 24, 2010

my boot partition used 100% how i can increase partition size

View 2 Replies View Related

Hardware :: Partition Size Detected By Testdisk Bigger Than Disk Size

Mar 17, 2011

a client brought in an 160GB external HDD and wanted to get the files off it, there appeared to be no partitions on the disk but i thought it may have been formatted to use the whole disk. I tried to mount it as the various FS types the client thought it may have been to no avail.

I ran testdisk on it which told me that it previously had a mac partition table and a 210GB partition on it (which is larger than the disk) could anyone enlighten me as to whether or not this is even possible, and if so how could i retrieve the data?

View 2 Replies View Related

Software :: Reduce Lvm In Size In RHEL5.0 / System Is Not Booting Saying File System Corrupted Error?

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

Ubuntu :: How To Reduce Reserved Space For Root On Partition

May 19, 2010

i have a 700GB ext4 partition for storage purposes. By default it has 5% of the space (35GB!) reserved for root, which does not make sense for this partition. how can i reduce this percentage? there is already a lot of data on the partition and i'm afraid that mke2fs would erase all the data. is there a way to change the percentage without touching the data?

View 1 Replies View Related







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