Swap does not have a label....your problem is probably due to mkswap not being used as recommended below. >-----Original Message----- >From: redhat-list-bounces@xxxxxxxxxx >[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Jessica Zhu >Sent: Thursday, October 27, 2005 4:20 PM >To: General Red Hat Linux discussion list >Subject: Re: e2lable > >Instead of using mkfs, run mkswap. And then either an entry in >/etc/fstab or use swapon to set the swap area up. > >Jessica > >On Thu, 27 Oct 2005, Shane Presley wrote: > >> Related question... >> >> When I have to restore a system from tape to new disks, I have to >> start with a mkfs, so the partition labels aren't there. >> >> It seems I can use e2label to re-add /boot and /. But how can I add >> the swap label? >> >> Shane >> >> On 10/26/05, Smith, Albert <Albert.Smith@xxxxxxxxxxxxxxxxx> wrote: >> > >> > >> > >> > > -----Original Message----- >> > > From: redhat-list-bounces@xxxxxxxxxx >> > > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Tom Greaser >> > > Sent: Wednesday, October 26, 2005 1:39 PM >> > > To: redhat-list@xxxxxxxxxx >> > > Subject: e2lable >> > > >> > > would someone tell me what im missing. >> > > I did an fdisk / mkfs.ext3 / e2lable now.. the e2lable shows the >> > > correct info e2label /dev/sda1 /var but when i put that in my >> > > fstab it errors on boot.. >> > > cant find /var~~~~ you get the point.. >> > > >> > > here is what i put in my fstab >> > > LABEL=/var /var ext3 >> > > defaults 1 >> > > 2 >> > > >> > > and no.. the is no other disk with that lable in the system.!! >> > > >> > > Thanks e2fsprogs-1.38 rpm >> > > >> > > -- >> > > redhat-list mailing list >> > > unsubscribe >> > > mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe >> > > https://www.redhat.com/mailman/listinfo/redhat-list >> > > >> > > >> > >> > >> > If you let redhat do the default partition setup on your system >> > /dev/sda1 is normally /boot >> > >> > Can you do a dump of your partitions and your fstab and >post please? >> > >> > Thanks, >> > >> > >> > Albert Smith >> > Sr. Unix Systems Administrator >> > HPCSA, RHCT >> > Genex Services >> > 440 E. Swedesford Rd. >> > Wayne, PA 19087 >> > albert.smith@xxxxxxxxxxxxxxxxx >> > (610) 964-5154 >> > >> > >> > >> > -- >> > redhat-list mailing list >> > unsubscribe >> > mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe >> > https://www.redhat.com/mailman/listinfo/redhat-list >> > >> >> > >-- >redhat-list mailing list >unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe >https://www.redhat.com/mailman/listinfo/redhat-list > > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list