Sponsored Content
Operating Systems HP-UX Some doubts about resizing fs's in HP-UX Post 302496144 by asanchez on Saturday 12th of February 2011 11:40:04 AM
Old 02-12-2011
Some doubts about resizing fs's in HP-UX

Hello,

I'm new to HP-UX and I'm not sure about some concepts related to resizing fs's under this OS.

First of all I'm only asking about resizing ONLINE, it means, without having to umount the fs nor rebooting, etc.

Q1. I've read that in order to resize a fs online there are 2 requirements:
1.1 the fs type must be vxfs <- Is that correct or under hp-ux there are more fs types that can be resized online?
1.2 JFSOnline is needed <- What's better to know if I have this feature: /usr/sbin/vxlicrep and see if HP_OnlineJFS = Enabled OR swlist | grep -i onlinejfs ? Is it possible to have the license but not the sw? and viceversa?

Q2. Then, there are 2 types (or more?) of underlying volume managers: LVM and VxVM.
2.2 How do I know if the fs's underlying VM is one or the other?
2.3 Case LVM and jfsonline -> I can resize fs online using lvextend + fsadm. Ok but lvextend and fsadm interpret sizes in powers of 2 or 10?
2.4 Lvextend -L XXX ... <- XXX is the new total size you want to achieve, not the size you want to add to the filesystem?
2.4 Case VxVM and jfsonline -> I can resize fs online using vxresize without having to worry about the underlying lvol?
2.5 if VM is VxVM can I use lvextend + fsadm and if i have LVM can i use vxresize?

Thank you!
 

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
aa_resize(3)						     Library Functions Manual						      aa_resize(3)

NAME
aa_resize - resize functions SYNOPSIS
#include <aalib.h> int aa_resize(aa_context *c); PARAMETERS
aa_context *c Specifies the AA-lib context to operate on. DESCRIPTION
Do resize action. This function ought to be called when application takes into account the AA_RESIZE event. The context is reinitialized and set to new sizes. RETURNS
0 when no resizing is done and 1 when resizing was succesfull. SEE ALSO
save_d(3), mem_d(3), aa_help(3), aa_formats(3), aa_fonts(3), aa_dithernames(3), aa_drivers(3), aa_kbddrivers(3), aa_mousedrivers(3), aa_kbdrecommended(3), aa_mouserecommended(3), aa_displayrecommended(3), aa_defparams(3), aa_defrenderparams(3), aa_scrwidth(3), aa_scrheight(3), aa_mmwidth(3), aa_mmheight(3), aa_imgwidth(3), aa_imgheight(3), aa_image(3), aa_text(3), aa_attrs(3), aa_currentfont(3), aa_autoinit(3), aa_autoinitkbd(3), aa_autoinitmouse(3), aa_recommendhi(3), aa_recommendlow(3), aa_init(3), aa_initkbd(3), aa_initmouse(3), aa_close(3), aa_uninitkbd(3), aa_uninitmouse(3), aa_fastrender(3), aa_render(3), aa_puts(3), aa_printf(3), aa_gotoxy(3), aa_hidecursor(3), aa_showcursor(3), aa_getmouse(3), aa_hidemouse(3), aa_showmouse(3), aa_registerfont(3), aa_setsupported(3), aa_setfont(3), aa_getevent(3), aa_getkey(3), aa_resizehandler(3), aa_parseoptions(3), aa_edit(3), aa_createedit(3), aa_editkey(3), aa_putpixel(3), aa_recommendhikbd(3), aa_recommendlowkbd(3), aa_recommendhimouse(3), aa_recommendlowmouse(3), aa_recommendhidisplay(3), aa_recommendlowdisplay(3) c2man aalib.h 8 September 1999 aa_resize(3)
All times are GMT -4. The time now is 10:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy