04-15-2005
Reducing a filesystem or/and Lvol, is not really advised as a good practice. It is possible if you can defrag the filesystem, but again that is not recommended.
My best suggestion is to backup the data or move it to another location... then destroy the Lvol and recreate it.
Or as I have done in the past... create a totally new filesytem, move all the directories and data... then reclaim the original filesystem.
------------------------------------------------------------
It can be done as follows, but again I dont recommend this procedure.
# fsadm -b "new_size_in_mb" /mountpoint
# lvreduce -L "new_size_in_mb /dev/vg01/lvol1
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB.
If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information
Regards
Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies
2. Solaris
Hi all,
I have a problem with vxvm volume which is mirror with two disks. when i am try to increase file system, it is throwing an ERROR: can not allocate 5083938 blocks, ERROR: can not able to run vxassist on this volume.
Please find a sutable solutions.
Thanks and Regards
B. Nageswar... (0 Replies)
Discussion started by: nageswarb
0 Replies
3. AIX
Hi!
Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes?
What items should I check, like where do I look at in smit? Or are there commands that I should execute?
I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies
4. Solaris
I 've 300Gb Lun assigned to my system which has soft partitions , is there any way to check how much the space i have used out of 300Gb ? and how may more soft partitions i can create and expand the existing ones ? (3 Replies)
Discussion started by: fugitive
3 Replies
5. AIX
Hello,
I am a french computer technician, and i speak English just a little.
On Aix 5.3, I encounter a name conflict logical volume on two volume group.
The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM
root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies
6. UNIX for Dummies Questions & Answers
I am running HP-UX 11.31 ia64. The /usr filesystem shows 7 GB as the size, but the logical volume that is mounted there shows 13 GB. Is there a way to get the entire 13 GB to show up and why did this happen in the first place? (11 Replies)
Discussion started by: trojan28
11 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies
1)Physical Volume
2)Volume Group
3)Logical Volume
4)Physical Partition
Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies
8. Fedora
Hi,
I run Fedora 17.
I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies
9. Red Hat
Hello Guys,
I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var.
I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies
LEARN ABOUT NETBSD
pvdisplay
PVDISPLAY(8) System Manager's Manual PVDISPLAY(8)
NAME
pvdisplay - display attributes of a physical volume
SYNOPSIS
pvdisplay [-c|--colon] [-d|--debug] [-h|-?|--help] [-s|--short] [-v[v]|--verbose [--verbose]] PhysicalVolumePath [PhysicalVolumePath...]
DESCRIPTION
pvdisplay allows you to see the attributes of one or more physical volumes like size, physical extent size, space used for the volume group
descriptor area and so on.
pvs (8) is an alternative that provides the same information in the style of ps (1).
OPTIONS
See lvm for common options.
-c, --colon
Generate colon separated output for easier parsing in scripts or programs. N.B. pvs (8) provides considerably more control over the
output.
The values are:
* physical volume device name
* volume group name
* physical volume size in kilobytes
* internal physical volume number (obsolete)
* physical volume status
* physical volume (not) allocatable
* current number of logical volumes on this physical volume
* physical extent size in kilobytes
* total number of physical extents
* free number of physical extents
* allocated number of physical extents
-s, --short
Only display the size of the given physical volumes.
-m, --maps
Display the mapping of physical extents to logical volumes and logical extents.
SEE ALSO
lvm(8), pvcreate(8), lvcreate(8), vgcreate(8)
Sistina Software UK LVM TOOLS 2.02.44-cvs (02-17-09) PVDISPLAY(8)