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
Forums
Discussions
Discussions
Discussions
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
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
05-07-2008 12:37 PM
05-07-2008 12:37 PM
swapfile
I have log of space in my root file system, can i create a swapfile in there using mkfile and use it as additional swap space
thanks - if so can you please tell me the syntax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2008 12:41 PM
05-07-2008 12:41 PM
Re: swapfile
How to do it:
http://docs.hp.com/en/B2355-90950/ch06s03.html
http://docs.hp.com/en/7408/HPUXSANBootWP_final_v2_update.pdf
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2008 06:34 PM
05-07-2008 06:34 PM
Re: swapfile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2008 09:00 PM
05-07-2008 09:00 PM
Re: swapfile
Post the output of the following commands:
swapinfo -tam
bdf /
glance -m
(the memory details)
e.g.
SRX2:>swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 512 0 512 0% 0 - 1 /dev/vg00/lvol2
dev 9728 0 9728 0% 0 - 0 /dev/vg01/swap01
reserve - 448 -448
memory 6310 927 5383 15%
total 16550 1375 15175 8% - 0 -
You have mail in /var/mail/root
SRV2:>bdf /
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 88440 115504 43% /
SRV2:>
Normally, we dont create anything on the root file system.
Can you check if you have unused space on other Volume groups or disks?
revert!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 02:26 AM
05-08-2008 02:26 AM
Re: swapfile
Dear Navin
if u want to create additional swap create
one more device swap ok not file system ok
eg:
lvcreate -L 100 /dev/vg01/lvol5
swapon /dev/vg01/lvol5
if u want to this next boot time onwards
make an entry in /etc/fstab file
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2008 05:08 AM
05-10-2008 05:08 AM
Re: swapfile
There is no mkfile command in HP-UX. It is avble in Solaris.
It is not advisable to create on root file system or simply, I think, you cannot create one on a mounted filesystem.
If you have an existing file system which can be unmounted then you can do something like this or create a new one.
umount /mountpoint
newfs -F vxfs -R90 /dev/vg01/rlvol9
(be sure you use the correct file sytem - it will reserve 90MB for swap)
You can also use -s90M (90MB size)
mount -F vxfs /dev/vg00/lvol9 /mountpoint
swapon /mountpoint
swapinfo -ft
[see the fs value]
swapinfo -tam
[localfs value]
Regards.