04-28-2009
The next will be /var unless it was installed with a FS of 2 GB...
A few things: Is your root VG (vg00) mirrored? Which means whatever space left in the VG is to be divided by 2...
/var will be like /usr: SAM uses it... so unless you have OnlineJFS you are to learn "how to" for a few things without SAM, the easy way round is to have a ignite tape, but I suppose you have no DAT device installed?
So its not complicated:
1 - Bring the Box into single user (or boot into single user...)
2 - lvextend -L SSS /dev/vg00/lvolX (SSS in Megabytes...)
3 - umount /dev/vg00/lvolX
4 - extendfs /dev/vg00/rlvolX (notice the "r" in rlvolX)
5 - mount /dev/vg00/lvolX
If it does not automatically backup lvm structure, ->
vgcfgbackup vg00
You should know where the system saves LVM and Filesystem information:
look at /etc/lvmconf /etc/lvmtab /etc/fstab
The commands you need to know for disks and LVM:
pvcreate
pvdisplay
pvchange
vgcfgbackup
vgcfgrestore
vgcreate
vgextend/vgreduce
vgexport/vgimport
vgremove
vgdisplay
lvdisplay
lvcreate
lvextend
lvremove
newfs
extendfs
Not bad for a start? (Read the man pages and feel welcome to ask here if some of it isnt clear...)
Good luck
9 More Discussions You Might Find Interesting
1. HP-UX
When taking a snap, I have a script that stops any active snap. When running the script, I'm getting a message that u02 and u04 are already mounted.
How can I find out what process(es) is/are latching on the these mount points?
Thank you for your time. (1 Reply)
Discussion started by: genzbeat
1 Replies
2. HP-UX
Hi,
Someone please help me with how i can unmount and remove all the files systems from a cluster. This is being shared by two servers that are active_standby. (3 Replies)
Discussion started by: joeli
3 Replies
3. OS X (Apple)
I have had a little issue with one of my disks, the usb cacble was pulled out and one of the external drives on it would no longer mount. I used First Aid and it verified and repaired both OK / nothing to do). After lots of messing around and not being able to mount I used Drive Genius 2 and that... (1 Reply)
Discussion started by: Cranie
1 Replies
4. Solaris
Hi
I have a mount point that is in production environment, and is currently filled up.
more space has been presented from same original source (EVA).
Problem;
1. Can't see presented space
2. After I discover the presented space, how do I go about adding this new space to existing mount point.... (9 Replies)
Discussion started by: Targ
9 Replies
5. Solaris
how to check how much space is occupied when u softmount or hard mount a file?
---------- Post updated at 03:24 AM ---------- Previous update was at 03:24 AM ----------
can anyone send me the answer (2 Replies)
Discussion started by: revathireddy
2 Replies
6. Shell Programming and Scripting
Hey there, sorry if this is a bit too much of a noob question, trying to get to grips with a simple bash script - but i have done ZERO bash scripting.
basically having worked out how to mount and unmount disks using:
disktool -m *device* & disktool -e *device*
- and looking at the result of... (2 Replies)
Discussion started by: hollister
2 Replies
7. Solaris
Hi, I need to expand a ZFS volume from 500GB to 800GB. I'd like to ask your help to confirm the following procedure:
Can I do it on the fly without bothering the users working on this volume?
Thank you in advance! (6 Replies)
Discussion started by: aixlover
6 Replies
8. Solaris
Hello I hope everyone is having a good day!
Situation:
2540 with 3.6TB of usable space
volume A is 2.6TB
volume B was 1TB
Volume A is mounted via a single lun on a solaris server and is running out of space.
Volume B was used on another server but is no longer, I deleted the volume in... (7 Replies)
Discussion started by: Metasin
7 Replies
9. Shell Programming and Scripting
Hi,
Need a bit of help on this one as I am a scripting noob.
I have a linux based NAS that mounts USB hard drives in an inconsistent location and to make matters worse, seems to lose the mount for an unknown reason and doesn't remount automatically unless the drive is removed and re-inserted.... (4 Replies)
Discussion started by: gtr33m
4 Replies
LEARN ABOUT HPUX
extendfs_vxfs
extendfs_vxfs(1M) extendfs_vxfs(1M)
NAME
extendfs_vxfs: extendfs - extend VxFS file system size
SYNOPSIS
size] special
DESCRIPTION
If the VxFS file system image created on special does not use all of the available space, increases the capacity of a VxFS file system by
updating the file system structure to include the extra space.
special specifies the device special file of either a logical volume or a disk partition. If special refers to a mounted file system, you
must unmount special before running (see mount(1M)).
The Version 5 disk layout supports file systems up to 32 terabytes. The size to which a Version 5 disk layout file system can be increased
depends on the file system block size:
o 1024 bytes 4,294,967,039 sectors (4 TB)
o 2048 bytes 8,589,934,078 sectors (8 TB)
o 4096 bytes 17,179,868,156 sectors (16 TB)
o 8192 bytes 34,359,736,312 sectors (32 TB)
The Version 6 disk layout supports file systems up to 256 terabytes. The size to which a Version 6 disk layout file system can be
increased depends on the file system block size:
o 1024 bytes 34,359,736,312 sectors (32 TB)
o 2048 bytes 68,719,472,624 sectors (64 TB)
o 4096 bytes 137,438,945,248 sectors (128 TB)
o 8192 bytes 274,877,890,496 sectors (256 TB)
The maximum file system size supported is 2 terabytes. For a file system's size to be increased to 32 terabytes or greater, the file sys-
tem must be on a 64-bit kernel operating system and must reside on a VERITAS Volume Manager volume.
If the file system resides on a volume set, will fail. Use the fsvoladm(1M) command to extend a multi-volume file system.
When the file system size is grown with the extendfs command, the intent log size is not automatically increased.
Options
recognizes the following options:
Specify the VxFS file system type.
Query special to determine the size. The file system is not extended.
Specify the number of
blocks to add to the file system. If size is omitted, the maximum possible size is used.
Specify verbose mode, which displays the resulting size of file system
along with output of the newly sized file system. Without there is no output.
Operands
recognizes the following operand:
special The device special file of either a logical volume or a disk partition. If special refers to a mounted file system, you
must unmount special before running (see mount(1M)).
EXAMPLES
This example shows how to increase the capacity of a file system created on a logical volume.
SEE ALSO
extendfs(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M), fs_vxfs(4).
extendfs_vxfs(1M)