1755545 Members
3566 Online
108835 Solutions
New Discussion юеВ

fsadm vxvm

 

fsadm vxvm

info:

# disk 1 has free space
root@[/] # vxassist maxsize rootdisk01
Maximum volume size: 34454528 (33647Mb)

# disk 2 has free space
root@[/] # vxassist maxsize rootdisk02
Maximum volume size: 34454528 (33647Mb)

# vxprint info
root@[/] # vxprint -Aht admin
Disk group: rootdg

V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO

v admin - ENABLED ACTIVE 2097152 SELECT - fsgen
pl admin-01 admin ENABLED ACTIVE 2097152 CONCAT - RW
sd rootdisk02-09 admin-01 rootdisk02 18350080 2097152 0 c0t6d0 ENA
pl admin-02 admin ENABLED ACTIVE 2097152 CONCAT - RW
sd rootdisk01-10 admin-02 rootdisk01 28835840 2097152 0 c2t6d0 ENA

# the filesystem has free space
root@[/] # bdf /opt/oracle/admin
Filesystem kbytes used avail %used Mounted on
/dev/vx/dsk/rootdg/admin
2097152 1290213 758954 63% /opt/oracle/admin

# installet software
B3929CA B.11.11 HP OnLineJFS

error:
/etc/vx/bin/vxresize -t taskid_105 -g rootdg admin 3145728s vxfs fsadm: attempt to resize /dev/vx/rdsk/rootdg/admin failed with errno 28
vxfs fsadm: Retry the operation after freeing up some space
vxvm:vxresize: ERROR: Problem running fsadm command for volume admin, in diskgroup rootdg

Thought:
I have tried to extend another filesystem and that worked fine.
I have tried to extend the filesystem with just 1MB and it still fails with the same error.
7 REPLIES 7
sparky_2
Frequent Advisor

Re: fsadm vxvm

Hi,
I dont really know vxvm, but the error is similar to one sometimes received with lvm. Is the filesystem that you're trying to extend at 100% capacity? If so, you need to free up a small amount of space to enable the extend to complete.

Re: fsadm vxvm

# the filesystem has free space
root@[/] # bdf /opt/oracle/admin
Filesystem kbytes used avail %used Mounted on
/dev/vx/dsk/rootdg/admin
2097152 1290213 758954 63% /opt/oracle/admin

It is at 63% as seen above.
Amit Manna_6
Regular Advisor

Re: fsadm vxvm

Hi,

Could you please let me know which version of Veritas Volume Manager you are using/
Isralyn Manalac_1
Regular Advisor

Re: fsadm vxvm

errno 28 is no space left on the device :-)

Regards,
Ira

Re: fsadm vxvm

Base-VXVM B.03.50.5 Base VERITAS Volume Manager Bundle 3.5 for HP-UX
PHCO_29603 1.0 VxVM 3.5m Command Cumulative Patch 04
PHKL_29611 1.0 VxVM 3.5m Kernel Cumulative Patch 04

and i know that 28 is no space...
Rajesh D L
Frequent Advisor

Re: fsadm vxvm

Hi,

You can get more information from /var/adm/syslog/syslog.log while attempting to resize the volume, which will be useful in troubleshooting. Also, check if the root filesystem is full.

RDL.

Re: fsadm vxvm

The sollutions is really special, some would think that this is MS and not HPUX.

Just for the sport of it i did a fsadm -d (defrag) and after the resize worked.