- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Adding disk to ML350 RHEL3 U5
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
03-15-2007 04:17 AM
03-15-2007 04:17 AM
Thanks in advance
Chris S.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 05:05 AM
03-15-2007 05:05 AM
SolutionBefore installing the new disk, I would modify /etc/fstab to use the file system LABEL instead of the hard partition name, for example instead of:
/dev/sdb1 /home
I would use
LABEL=/home /home
You can check the file sytem label and set one with the e2label command.
Once you use labels instead of hard device names, the device names can change but your won't have problems to mount your file systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2007 01:20 AM
03-16-2007 01:20 AM
Re: Adding disk to ML350 RHEL3 U5
#e2label /dev/sdc1 /home
#e2label /dev/sdb1 /var
Then I get a bit lost on the swap partitions
#e2label /dev/sda7
#e2label /dev/sdb2
The examples I found did not address swap partitions.
[root@freya etc]# more fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
/dev/sdc1 /home ext3 efaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
/dev/sdb1 /var ext3 defaults 1 2
/dev/sda7 swap swap defaults 0 0
/dev/sdb2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2007 01:56 AM
03-16-2007 01:56 AM
Re: Adding disk to ML350 RHEL3 U5
The swap partition must not be used, uncomment the swap from fstab, set the label, add again, reboot and do the same for the other swap area. Or do everything from the rescue CD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2007 05:11 AM
03-16-2007 05:11 AM
Re: Adding disk to ML350 RHEL3 U5
Thanks
cs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 03:48 AM
03-26-2007 03:48 AM