HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- file systems will not mount automatically after ad...
Operating System - HP-UX
1833948
Members
1624
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-27-2003 12:08 PM
08-27-2003 12:08 PM
file systems will not mount automatically after adding new swap
I added my swap by adding a drive to a new volume group, created using SAM a lv called swap, made it swap with pri of 2 and 500 mb
System rebooted , now for some reason it will not mount my file systems automatically. If I do a more on /etc/fstab and mount by hand all is ok. What can I do to fix
Mike
System rebooted , now for some reason it will not mount my file systems automatically. If I do a more on /etc/fstab and mount by hand all is ok. What can I do to fix
Mike
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2003 12:27 PM
08-27-2003 12:27 PM
Re: file systems will not mount automatically after adding new swap
there is probably an error in /etc/fstab that is causing the mount at system start to fail.
The error code should be recorded in /etc/rc.log
Take a look at /etc/fstab for a character or tab that does not belong.
mount -a should result in an error after start if I'm right.
SEP
The error code should be recorded in /etc/rc.log
Take a look at /etc/fstab for a character or tab that does not belong.
mount -a should result in an error after start if I'm right.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
08-27-2003 12:37 PM
08-27-2003 12:37 PM
Re: file systems will not mount automatically after adding new swap
Hi Mike,
To expand on Steven's answer...If there's an error in /etc/fstab, all entries *following* that error are not processed.
I'd edit fstab & re-enter that specific line & try a swapon -a
Entry should look *like*:
/dev/vg_name/lv_name ... swap pri=2 0 0
Also I *always* make secondary swap priority=0 so that swap will stay away from vg00 until all the secondary is used - And hopefully swap will never be used as swap or you're in trouble & performance will go to h3ll.
Rgds,
Jeff
To expand on Steven's answer...If there's an error in /etc/fstab, all entries *following* that error are not processed.
I'd edit fstab & re-enter that specific line & try a swapon -a
Entry should look *like*:
/dev/vg_name/lv_name ... swap pri=2 0 0
Also I *always* make secondary swap priority=0 so that swap will stay away from vg00 until all the secondary is used - And hopefully swap will never be used as swap or you're in trouble & performance will go to h3ll.
Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2003 08:24 AM
08-29-2003 08:24 AM
Re: file systems will not mount automatically after adding new swap
Hi Mike,
You could perform the following to check the swap condition:
1. Execute the swapinfo command to see what if your swap device was ever turned on.
swapinfo -mt
2. If the swap was not turned on then, verify it the device information is in the /etc/fstab file.
/dev/vgXX/swap ... pri=# 0 0
Where # is the number you assigned it.
3. Turn swap on using the swapon command
swapon /dev/vgXX/swap
or
swapon -a #This turns on all of your swap devices.
I had problems in the past setting up swap using SAM. If your problems persist remove the swap you created and re-create it on the command line. The steps are.
lvremove /dev/vgXX/swap
lvcreate -L 500 -n lvswap /dev/vgXX
vi /etc/fstab -- add the entry in for the new swap.
/dev/vgXX/lvswap ... pri=# 0 0
Where # is the number you assigned it.
swapon /dev/vgXX/lvswap
or
swapon -a #This turns on all of your swap devices.
swapinfo -mt # Your current swap device information will be displayed.
Hope this helps
Doc Holliday
You could perform the following to check the swap condition:
1. Execute the swapinfo command to see what if your swap device was ever turned on.
swapinfo -mt
2. If the swap was not turned on then, verify it the device information is in the /etc/fstab file.
/dev/vgXX/swap ... pri=# 0 0
Where # is the number you assigned it.
3. Turn swap on using the swapon command
swapon /dev/vgXX/swap
or
swapon -a #This turns on all of your swap devices.
I had problems in the past setting up swap using SAM. If your problems persist remove the swap you created and re-create it on the command line. The steps are.
lvremove /dev/vgXX/swap
lvcreate -L 500 -n lvswap /dev/vgXX
vi /etc/fstab -- add the entry in for the new swap.
/dev/vgXX/lvswap ... pri=# 0 0
Where # is the number you assigned it.
swapon /dev/vgXX/lvswap
or
swapon -a #This turns on all of your swap devices.
swapinfo -mt # Your current swap device information will be displayed.
Hope this helps
Doc Holliday
Faith is hoping a crashed machine comes up when the command line says: Press any key to continue!"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP