Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 08-17-2004, 08:02 AM   #1
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Rep: Reputation: 16
How to change the label of a disk


I want to replace a disk in a Red Hat 9 server I use as Samba Domain Server. I have 2 SCSI disks and 2 IDE. During the initial setup I have made the following partitions:

IDE Device A:
Partition #1 > /boot
Partition #2 > /
Partition #3 > swap

IDE Device B:
Partition #1 > /public

SCSI Device A:
Partition #1 > /setup

IDE Device A:
Partition #1 > /ntprofiles

Now, I want to replace the IDE Device B: with a new SCSI disk. I can transfer all the data of the existing disk somewhere else. So I need a way to un-install the IDE disk (probably from fstab), then install the SCSI disk and name it (or better mount it) as /public.

My current fstab config is:
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
LABEL=/ntprofiles       /ntprofiles             ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
LABEL=/public           /public                 ext3    defaults        1 2
LABEL=/setup            /setup                  ext3    defaults        1 2
/dev/hda3               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
The new SCSI disk is exctacly the same as the SCSI Device A. Any hints? Thank you!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change disk label sizes? hypodermic *BSD 5 03-12-2004 06:44 PM
I don't like the LILO label - How to change it? vijayaramanl Linux - Newbie 5 10-22-2003 06:00 PM
Disk label problem Juniper34 *BSD 2 08-21-2003 06:01 AM
Disk label strangeness? MadCactus Linux - General 2 08-13-2003 12:24 PM
Disk Label Editor Philo *BSD 13 07-06-2003 08:27 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration