Sponsored Content
Operating Systems HP-UX Some doubts about resizing fs's in HP-UX Post 302496302 by methyl on Sunday 13th of February 2011 01:14:33 PM
Old 02-13-2011
Quote:
And finally,

LVM: what's better to use, lvextend (extends lvol) + fsadm (resizes fs) OR lvextend + extendfs_vxfs?

VxVM: Is it the same commands? lvextend + one of {fsadm_vxfs, extendfs_vxfs}?
extendfs_vxfs and fsadm_vxfs are not unix commands. They are the names of unix "man" pages which give the special syntax of the command in context.

See the following "man" pages for the "top of tree" for LVM and Veritas (VxVM) respectively.
Code:
man lvm
man vxintro

If you don't have the "man" page then check whether you have the package at all.

It always helps to know what Operating System version you have. There has been a move away from LVM towards Veritas (VxVM) over the last 10 years or so.
We are unclear whether you are looking at an existing mature system or what.

Take a look at the contents of /etc/fstab .

Logical Volume adm Filesystems size parameters are in power of 2 notation. (1024 bytes = one kilobyte). There is however nothing to stop you creating say a 10 Gb filesystem. Hope I understood your question.

Beware that there are overheads in Journalling File Systems and the actual free space in a filesystem will be a fraction lower than you may expect.

I am unwilling to suggest LVM or VxVM commands in this context because we know nothing about your environment.
 

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
Tk_SetGrid(3)                                                  Tk Library Procedures                                                 Tk_SetGrid(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tk_SetGrid, Tk_UnsetGrid - control the grid for interactive resizing SYNOPSIS
#include <tk.h> Tk_SetGrid(tkwin, reqWidth, reqHeight, widthInc, heightInc) Tk_UnsetGrid(tkwin) ARGUMENTS
Tk_Window tkwin (in) Token for window. int reqWidth (in) Width in grid units that corresponds to the pixel dimension tkwin has requested via Tk_GeometryRequest. int reqHeight (in) Height in grid units that corresponds to the pixel dimension tkwin has requested via Tk_GeometryRequest. int widthInc (in) Width of one grid unit, in pixels. int heightInc (in) Height of one grid unit, in pixels. _________________________________________________________________ DESCRIPTION
Tk_SetGrid turns on gridded geometry management for tkwin's toplevel window and specifies the geometry of the grid. Tk_SetGrid is typi- cally invoked by a widget when its setGrid option is true. It restricts interactive resizing of tkwin's toplevel window so that the space allocated to the toplevel is equal to its requested size plus or minus even multiples of widthInc and heightInc. Furthermore, the reqWidth and reqHeight values are passed to the window manager so that it can report the window's size in grid units during interactive resizes. If tkwin's configuration changes (e.g., the size of a grid unit changes) then the widget should invoke Tk_SetGrid again with the new informa- tion. Tk_UnsetGrid cancels gridded geometry management for tkwin's toplevel window. For each toplevel window there can be at most one internal window with gridding enabled. If Tk_SetGrid or Tk_UnsetGrid is invoked when some other window is already controlling gridding for tkwin's toplevel, the calls for the new window have no effect. See the wm manual entry for additional information on gridded geometry management. KEYWORDS
grid, window, window manager Tk 4.0 Tk_SetGrid(3)
All times are GMT -4. The time now is 05:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy