- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Invalid file system swap
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 11:04 PM
тАО06-08-2009 11:04 PM
Invalid file system swap
on HP-UX 11.23 :
#lvextend -L 700 /dev/vg00/lvol3
Warning: rounding up logical volume size to extent boundary at size "704" MB.
Logical volume "/dev/vg00/lvol3" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
#fsadm -b 716800 /
fsadm: Invalid file system swap
What can i do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 11:10 PM
тАО06-08-2009 11:10 PM
Re: Invalid file system swap
fsadm could be used only on mounted file systems for example /home ....
you need to go to the single user mode,
and them use extendfs, but the swap space should be continues.
In my opinion i will create aditional swap ( second swap ) and them adding it to the /etc/fstab
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 11:13 PM
тАО06-08-2009 11:13 PM
Re: Invalid file system swap
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 11:18 PM
тАО06-08-2009 11:18 PM
Re: Invalid file system swap
You should have Contiguous free space available to increase the primary swap area.
I'm sure in this case, you will not be having Contiguous free space.
>>>>#fsadm -b 716800 /
>>>>fsadm: Invalid file system swap
Above command shouldn't be used for swap area. swap doesn't hold any FileSystem.
Take a look on the documents for more details:
http://docs.hp.com/en/B2355-90672/ch06s07.html?btnNext=next%A0%BB
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 11:29 PM
тАО06-08-2009 11:29 PM
Re: Invalid file system swap
This is the easy way.
first find out the existing swap space using
swapinfo -tam
decide if you are using space from vg00 or you are using a one from your SAN.
now go to sam
sam
select Disks and File systems
select logical volume
(it will display all of your lvs)
goto actions ( By hitting the Tab key, you can scroll around)
Select Create
Select your volume group (say vg00)
Select Define New Logical Volume
for LV Name: lvswap1
for LV Size: 20480 (i.e 20 MB of SWAP)
Modifyl LV Defaults
tab around and select Contiguous and OK
Usage: Select Swap Device
Swap Priority: select 1
Select Add
Select OK
Select OK
Tab and File and Exit
You need to reboot, Everything else is OK
Let me know if you need more detail information.
fo verify after reboot
swapinfo -tam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 01:11 AM
тАО06-09-2009 01:11 AM
Re: Invalid file system swap
if u need u can create a device swap
lvcreate -C y -n swapanme -L size -m 1 /dev/vg00
activate the swap by using swapon -a
if u want this swap next reboot onwards
make an entry in /etc/fstab file
understand fsadm will work only mount file system only. also if online jfs is there u can use this command to extend the file system other wise u have to use extendfs command
thanks and regards
Sajjad sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 06:42 AM
тАО06-09-2009 06:42 AM
Re: Invalid file system swap
I can not reboot the system!
fsadm -b .... / I used it on other systems with out downtime.
#swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 1 4095 0% 0 - 1 /dev/vg00/lvol2
dev 13984 1 13983 0% 0 - 1 /dev/vgswap/lvol1
dev 14001 1 13999 0% 0 - 1 /dev/dsk/c6t1d7
reserve - 11479 -11479
memory 16363 8724 7639 53%
total 48444 20206 28237 42% - 0 -
bdf /
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 524288 524096 192 100% /
Who have a idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 09:23 PM
тАО06-09-2009 09:23 PM
Re: Invalid file system swap
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 524288 524096 192 100% /<==
Let us remove the misconception
/dev/vg00/lvol3 is not swap, but the root file system.
This is usually a contiguous one:
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 256
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
Depending on how the allocation was done at the time of installation, you may be able to extend this, but I have not really come across a situation where you use fsadm to make use of the additional space in the partition.
Any way, your utilization of / is already at 100% and fsadm would fail unless you manage to bring it down to lesser than 98%; ideally that is.
What is more important is to get things clearer. That you are not dealing with swap here, but only the root file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 10:11 PM
тАО06-09-2009 10:11 PM
Re: Invalid file system swap
dev 14001 1 13999 0% 0 - 1 /dev/dsk/c6t1d7
what is this? a swap created on the raw disk and that also without any VG or LV.
Please post the `cat /etc/fstab` O/P.
this is a device swap created with raw disk!
Also please try to find out if that disk belongs to what VG and for that VG please show the vgdisplay -v
Please attach the two O/Ps,. and yes as suggested the fsadm shall be failing with high probablity if teh FS being extended is 100% Full, so think of taking some unused files from /.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 10:24 PM
тАО06-09-2009 10:24 PM
Re: Invalid file system swap
i not known the contex between file system swap and online expansion of filesystem / . I test the online expansion with lvextend and fsadm of other filesystem (/var). Thats was without problem.
Show the error:
#bdf /
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 524288 495624 28480 95% /
root@parzival:/daten1/icis.reports/okv #fsadm -b 716750 /
fsadm: Invalid file system swap
thanks and regards
Wolfgang Thiele