Sponsored Content
Operating Systems HP-UX Some doubts about resizing fs's in HP-UX Post 302496185 by methyl on Saturday 12th of February 2011 04:42:30 PM
Old 02-12-2011
First find out what Operating System version you have:
Code:
uname -a

The package concerned is known as "Online JFS".
JFS=Journal Filesystem

The presence of a package does not mean that you are using it. We have a system with both LVM and Veritas installed but are only using LVM for legacy reasons. Obviously both could have filesystems mounted as "-F vxfs".

This should give you an idea what's installed and what's running:
Code:
swlist -v | egrep -i "lvm|veritas|jfs"
ps -ef|egrep -i "lvm|vx"|grep -v "grep"

If the "ps" only mentions "vx" not "lvm" there is a fair chance that you have pure Veritas ... or vice versa. Take advice from your support agency before deciding.

Once you have the base facts it is advisible to log a call with HP Support before attempting to extend a filesystem (whether online or offline). It would be preferable to attend the appropriate course and then to practice on an expendable test system until you are confident and can pass HP certification exams.

In your example, this is where it gets complicated:
Quote:
lvextend -L XXX
"lvextend" is an LVM command.
XXX is the new size of the Logical Volume (comparable to a disc partition) in Megabytes (i.e. not the filesystem).
Under LVM the "extendfs" command is the command which extends the filesystem after extending the Logical Volume.
See "man extendfs_vxfs".
I have personally had very bad experiences with "Online JFS" and know that every version of every piece of software involved must be the correct patched version before HP say that it is safe. This does not in any way imply that I would say that it will work for you. Make sure that you have a full, verified and tested Disaster Recovery backup before using "Online JFS".

For the Veritas version see man "fsadm_vxfs".

Because of the danger of typing any "vx" or "lv" command on a live system please take professional advice or training and gain HP Certification before typing any commands on a live system. Any advice given is for example purposes only and does not in any way suggest that any particular command should be typed on your system.

Last edited by methyl; 02-12-2011 at 06:41 PM.. Reason: assorted typos, layout, corrections, rewrites, disclaimer, clairify Logical Volume, more disclaimers.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

filesystems resizing

I want to resize my filesystem partitions. Reason is that I have 11GB of disk space unused by Unix which divvy reveals. Is there a way I could resize my filesystems without doing a reinstallation. The secondary problem is that the boot image is too large for a diskette (5MB). I'm running SCO... (10 Replies)
Discussion started by: sshokunbi
10 Replies

2. UNIX for Dummies Questions & Answers

resizing slices

I downloaded the Solaris recommended patched for x86 and tried to install it, but I got the message that I dont have enough disk space. I don't want to install the patches without the option to back out. Anyway I did a df -k and found that my root mount point is in 948MB whereas my /export/home is... (5 Replies)
Discussion started by: dangral
5 Replies

3. UNIX for Dummies Questions & Answers

Resizing file

is there anything such as "resizing file for optimal disk usage" if so, whats it about? (4 Replies)
Discussion started by: TRUEST
4 Replies

4. AIX

Resizing VG with mirror

Dear Friends, I would like to know if there is any chance to expand a Volume Group, If this VG have a mirror. If there is any chance to do this what would be the safer way to avoid lost any data. Sorry about my English.:D Thanks a lot. (1 Reply)
Discussion started by: chrispaz
1 Replies

5. Linux

Dymamic resizing of a window

I want to run a script that changes the size of the window from which it's been started. Turns out that if I start up a putty windowo to a remove linux box, I can simply issue the command 'resize -s row col' and it will in fact do the resize. If I'm physically running on the local linux system's... (1 Reply)
Discussion started by: MarkSeger
1 Replies

6. Filesystems, Disks and Memory

Help with resizing partitions

Hi First post :o I have recently used Acronis (Backup software for data backup and disaster recovery in Windows and Linux - Acronis) to create identical systems that I need to build. Everything works OK, but one of the machine has a bigger harddisk (250G) than the one I used to create the... (2 Replies)
Discussion started by: forte712
2 Replies

7. Solaris

Parition Resizing

Is there a way to take space from the /opt slice (/dev/dsk/c1t0d0s5) and then put it in the /var (/dev/dsk/c1t0d0s1)? In theory, I should be able to ufsdump /opt and /var to another drive. Use disk label to resize those two slices (ex. take 10G from opt and add to /var) and then newfs and dump back... (1 Reply)
Discussion started by: adelsin
1 Replies

8. Solaris

Resizing the Root Filesystem

Is it possible to increase the root filesystem size without reboot ?? (4 Replies)
Discussion started by: gowthamakanthan
4 Replies

9. Solaris

Resizing a disk

I'm used to using AIX but a new box running Solaris I need a little help with. The disk are presented from a SAN, the disk needing to change is presented as 148GBs drive which was allocated to a file system as the same. I need to change that without losing any data. I know I can change the disk... (7 Replies)
Discussion started by: ltlawnman
7 Replies

10. UNIX for Dummies Questions & Answers

how to go about resizing the virtual disk?

Hi guys , We are running machines in virtual environment. As a part of virtual solution we have a disk created in form of files on host machine. The problem is we are facing space crunch and need to re size the harddisk files of virtual machines. There a catch the virtual machines are... (0 Replies)
Discussion started by: pinga123
0 Replies
logdump(8)						  JFS utility - journal log dump						logdump(8)

NAME
logdump - dump a JFS formatted device's journal log SYNOPSIS
logdump [ -a ] device DESCRIPTION
logdump dumps the contents of the journal log from the specified JFS formatted device into output file ./jfslog.dmp. device is the special file name corresponding to the actual device from which the journal log will be dumped (e.g. /dev/hdb1 ). logdump must be run as root. OPTIONS
-a Dump the entire contents of the journal log instead of just the committed transactions since the last synch point. EXAMPLE
Dump the entire JFS journal log from the 3rd partition of the 2nd hard disk into ./jfslog.dmp: logdump -a /dev/hdb3 REPORTING BUGS
If you find a bug in JFS or logdump, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site: http://oss.software.ibm.com/jfs Please send as much pertinent information as possible, including any logdump error messages and the complete output of running fsck.jfs with the -v option on the JFS device. SEE ALSO
xchklog(8), xchkdmp(8), mkfs.jfs(8), fsck.jfs(8), logredo(8), xpeek(8) AUTHORS
Barry Arndt (barndt@us.ibm.com) William Braswell, Jr. logdump is maintained by IBM. See the JFS project web site for more details: http://oss.software.ibm.com/jfs October 10, 2001 logdump(8)
All times are GMT -4. The time now is 01:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy