08-25-2016
How to reduce the LVM Size in RHEL/Centos 7 ?
Hi All,
I have one logical volume with size as 900G and it is mounted as xfs file system.
Now I want to reduce this partition to 500G.
So I followed the below steps.
- unmount the mount point /home
- Reduced the volume using the command
Quote:
lvreduce -L 500G /dev/rhel/home
- Now I remounted the partition.
But the problem is still my mount point says 900G as /home size. What i am missing here.
Thanks
Kalai
Last edited by rbatte1; 08-25-2016 at 09:24 AM..
Reason: Converted to formatted number-list
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
HPUX 11iv2 #!/bin/sh
Hi all. I have a script that results in the creation of an ascii file which is ultimately emailed out to several people. The email wraps each line so I would like to reduce the font size of the ascii file. I looked at nroff and also tr but it wasn't clear to me how to do... (2 Replies)
Discussion started by: lyoncc
2 Replies
2. Red Hat
Hiya,
Is there a known method from converting LVM data to VxVM data..
ie we have a load of local and SAN (HPDM) mounts on RHEL 4u5/5u1 servers which are now required to be clustered with SFS (VxFS,VxVM,CFS,VCS etc)
I've come across the vxvmconvert, but thought that was HP-UX only?
Many... (0 Replies)
Discussion started by: itsupplies
0 Replies
3. Filesystems, Disks and Memory
Hiya,
Is there a known method from converting LVM data to VxVM data..
ie we have a load of local and SAN (HPDM) mounts on RHEL 4u5/5u1 servers which are now required to be clustered with SFS (VxFS,VxVM,CFS,VCS etc)
I've come across the vxvmconvert, but thought that was HP-UX only?
Many... (3 Replies)
Discussion started by: itsupplies
3 Replies
4. HP-UX
Hi,
I'm new to HP-UX.
I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3
Thanks (4 Replies)
Discussion started by: lamoul
4 Replies
5. Solaris
I'm trying to reduce hard drive size (number of cylinders) in SPARC Solaris. Its easy to change last cylinder of last slice, but that cannot be done for slice2/backupslice because it insists on whole disk. If I try to change disk type/geometry, all slices get replaced with some 'default'... (1 Reply)
Discussion started by: orange47
1 Replies
6. UNIX for Dummies Questions & Answers
My volume group of size 200 gb.
out of which only 100 gb is used by 2 logical volumes /dev/vg00/lvol0 and /dev/vg00/lvol0 respectively (both are 50 gb each).
Whenever i use vgreduce command to reduce the size of volume group i get below error.
# vgreduce vg00 -a
Physical volume... (16 Replies)
Discussion started by: pinga123
16 Replies
7. Linux
Hello,
I have install 2 HDD in my server and now installing the Centos6.4.
I want create the LVM of those 2 HDD's so while i'm doing this it is not allowing me to select these 2 disk's from allowable disk list.
Same problem if i tried to make Software RAID with creating LVM.
Please help. (1 Reply)
Discussion started by: purushottamaher
1 Replies
8. Red Hat
Hi,
inode size reached its 100% in /var
Due to this i'am getting the error No space left on device
my crond process is stopped and when i want to restart it
it is showing the below error
Starting crond: crond: can't open or create /var/run/crond.pid: No space left on device
df -i o/p
... (3 Replies)
Discussion started by: Mohamed Thamim
3 Replies
9. Linux
Hello,
I am trying to convert a single-drive Centos 7.2 installation with LVM into a two-disk mdadm mirror with mrrored LVM. I was able to follow the excellent instructions at:
http://www.dgoradia.com/creating-a-raid1-mirrored-on-an-existing-centos-on-lvm/and did create a two-disk mirror... (1 Reply)
Discussion started by: Clovis_Sangrail
1 Replies
10. UNIX for Advanced & Expert Users
All,
We have a physical server (Lenovo 3950) that we need to upgrade the OS from RHEL 6 to RHEL 7. We do not want to do an in-place upgrade but rather start with a fresh OS install. The plan is to remove the two local drives (Raid 1) and install two new drives for the fresh RHEL 7 install. ... (4 Replies)
Discussion started by: hburnswell
4 Replies
LEARN ABOUT DEBIAN
hmount
HMOUNT(1) General Commands Manual HMOUNT(1)
NAME
hmount - introduce a new HFS volume and make it current
SYNOPSIS
hmount source-path [partition-no]
DESCRIPTION
hmount is used to introduce a new HFS volume. A UNIX pathname to the volume's source must be specified. The source may be a block device or
a regular file containing an HFS volume image.
If the source medium is partitioned, one partition must be selected to be mounted. If there is only one HFS partition on the medium, it
will be selected by default. Otherwise, the desired partition number must be specified (as the ordinal nth HFS partition) on the command-
line. Partition number 0 can be specified to refer to the entire medium, ignoring what might otherwise be perceived as a partition map,
although in practice this is probably only useful if you want this command to fail when the medium is partitioned.
The mounted volume becomes "current" so subsequent commands will refer to it. The current working directory for the volume is set to the
root of the volume. This information is kept in a file named .hcwd in the user's home directory.
If the source medium is changed (e.g. floppy or CD-ROM disc exchanged) after hmount has been called, subsequent HFS commands will fail
until the original medium is replaced or a different volume is made current. To use the same source path with the different medium, reissue
the hmount command.
EXAMPLES
% hmount /dev/fd0
If a Macintosh floppy disk is available as /dev/fd0, this command makes the floppy current for other HFS commands such as hls(1),
hcd(1), hcopy(1), etc.
% hmount /dev/sd2 1
If a SCSI disk is available as /dev/sd2, this command finds the first HFS partition on the medium and makes it available for other
HFS operations.
NOTES
hmount does not actually mount an HFS partition over a UNIX directory in the traditional mount(8) sense. It is merely a "virtual" mount, as
a point of convenience for future HFS operations. Each HFS command independently opens, operates on, and closes the named source path given
to hmount.
SEE ALSO
hfsutils(1), hformat(1), humount(1), hvol(1)
FILES
$HOME/.hcwd
AUTHOR
Robert Leslie <rob@mars.org>
HFSUTILS
08-Nov-1997 HMOUNT(1)