- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remove swap, i think secondary
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
тАО02-03-2010 12:43 PM
тАО02-03-2010 12:43 PM
Re: remove swap, i think secondary
# lvlnboot -s /dev/vg00/lvol2
lvlnboot: A Logical Volume has already been assigned
to be the Root or Swap Logical Volume.
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (0/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c0t5d0 (0/0/0/3/0.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c0t5d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c0t5d0
Swap: lvol10 on: /dev/dsk/c0t6d0
/dev/dsk/c0t5d0
Dump: lvol10 on: /dev/dsk/c0t6d0, 0
Thx
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 12:49 PM
тАО02-03-2010 12:49 PM
Re: remove swap, i think secondary
Try JRF's commands, but in the reverse order:
These will remove (hopefully) lvol10 as primary swap/dump:
# lvrmboot -s /dev/vg00/lvol10
# lvrmboot -d /dev/vg00/lvol10
These will add lvol2 as primary swap/dump:
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2
A 'lvlnboot -v' will show the current settings.
Once lvlnboot shows lvol2 for swap and dump, a reboot should clear up usage of lvol10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 01:02 PM
тАО02-03-2010 01:02 PM
Re: remove swap, i think secondary
# lvrmboot -s /dev/vg00/lvol10
lvrmboot: Volume group "/dev/vg00/lvol10" does not exist in the "/etc/lvmtab" fi
le.
lvrmboot: Illegal path "/dev/vg00/lvol10".
Thx
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 01:08 PM
тАО02-03-2010 01:08 PM
Re: remove swap, i think secondary
> Does not work again
> # lvrmboot -s /dev/vg00/lvol10
> lvrmboot: Volume group "/dev/vg00/lvol10" does not exist in the "/etc/lvmtab" fi
le.
Then, add back the entry to 'fstab' and try again.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 01:16 PM
тАО02-03-2010 01:16 PM
Re: remove swap, i think secondary
Added the entry to the fstab and also did a mountall, came back OK but the same error when doing the command
# lvrmboot -s /dev/vg00/lvol10
lvrmboot: Volume group "/dev/vg00/lvol10" does not exist in the "/etc/lvmtab" fi
le.
lvrmboot: Illegal path "/dev/vg00/lvol10".
#
Should i change the entry for the options.
/dev/vg00/lvol10 ... swap pri=0 0 0
it says pri=0 0 0
Thx
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 01:24 PM
тАО02-03-2010 01:24 PM
SolutionTry this:
# lvrmboot -s /dev/vg00
# lvrmboot -d lvol10 /dev/vg00
Then do an 'lvlnboot -v' to see what the results look like.
If swap and dump are blank, then you can try the following lvlnboot commands:
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2
If those don't work try the following:
# lvlnboot -s lvol2 /dev/vg00
# lvlnboot -d lvol2 /dev/vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 01:46 PM
тАО02-03-2010 01:46 PM
Re: remove swap, i think secondary
Thanks
Mike.
- « Previous
-
- 1
- 2
- Next »