- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: adding swap partition
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
тАО08-01-2005 09:56 AM
тАО08-01-2005 09:56 AM
I want to add a swap partition. I have already one disk which configured for swap is there anyway to create the same parttion table on the newdisk. I can use dd but dd copies all the data and creates the same partion table which I dont want. I just want the same layout..or create new one.
Regards,
Karim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2005 10:18 AM
тАО08-01-2005 10:18 AM
Solution# disklabel ├в r dsk8 > /root/dsk8.label
# disklabel ├в R dsk8 /root/dsk8.label
You can use disklabel -rw to create empty new one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2005 10:57 AM
тАО08-01-2005 10:57 AM
Re: adding swap partition
the output you sent is gibberish. can resend again
Karim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2005 04:19 PM
тАО08-01-2005 04:19 PM
Re: adding swap partition
# disklabel -├В ├В r dsk8 > /root/dsk8.label ; copy the disk label of the disk to an ascii file
# disklabel -├В R dsk9 /root/dsk8.label ; create a new disk layout using the ascii configuration file
where, dsk8 is the current swap disk and dsk9 is the new swap disk.
Read the manpage of disklabel for more info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2005 05:02 PM
тАО08-01-2005 05:02 PM
Re: adding swap partition
# disklabel -R dsk8 /root/dsk8.label
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 01:31 AM
тАО08-02-2005 01:31 AM
Re: adding swap partition
what os version do you run?
Under 4.X you add swap in /etc/fstab.
Under 5.X you add it to /etc/sysconfigtab.
Otherwise you use disklabel as suggested to copy the partition structure and replace any partition type by unused.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2005 01:31 AM
тАО08-02-2005 01:31 AM
Re: adding swap partition
I meant Karim!
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 08:44 AM
тАО08-08-2005 08:44 AM
Re: adding swap partition
Karim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 08:44 AM
тАО08-08-2005 08:44 AM