- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Kickstart generating partition numbers with 1 on e...
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
07-19-2006 12:50 PM
07-19-2006 12:50 PM
Kickstart generating partition numbers with 1 on end.
Over the past year playing with RHEL installs, generally reinstalling servers a number of times - I have found that a number of systems get 1 placed on the end of their label names (when looking at /etc/fstab or e2label). Thus root as / is /1 and /usr is /usr1.
This happens even when I tell Anaconda to initialise the disk completely and or so when using clearpart --initlabel --all as well.
Its a nuisance as everything refering to labels ends up with 1 on the end. I havent seen /2 or 2 added so cannot understand why it does this?
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 06:07 PM
07-19-2006 06:07 PM
Re: Kickstart generating partition numbers with 1 on end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 06:31 PM
07-19-2006 06:31 PM
Re: Kickstart generating partition numbers with 1 on end.
As the problem has happened on other servers. As for multiple drives it doesnt put 2, 3, 4 etc for each drive just 1 on the end.
It would appear as if clearpart isnt working properly, and that the part routine either sees an existing filesystem and thus decides to call it /1 to ensure no duplication?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 06:41 PM
07-19-2006 06:41 PM
Re: Kickstart generating partition numbers with 1 on end.
Sometimes the installation ended with "1" at the end of partition labels and sometime without - on the same machine.
I assumed that it's because sometimes the MBR wasn't cleared properly, so the system thinks that it has partitions already.
Anyway you can deal with it in postinstall section of kickstart-where you can simply relable the partitions with e2label utility -helped me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 06:45 PM
07-19-2006 06:45 PM
Re: Kickstart generating partition numbers with 1 on end.
Ive had problems using e2label and am wary of this as particularly the / or root partition - sometimes causes problems with grub and kernel booting etc.
Was hoping to find a preventative approach rather than using antibiotics as the cure!
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 07:02 PM
07-19-2006 07:02 PM
Re: Kickstart generating partition numbers with 1 on end.
This is a bug that I've had to manually fix post installation.
I have not seen it with RH 4 update 3, but have with prior releasees.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 07:05 PM
07-19-2006 07:05 PM
Re: Kickstart generating partition numbers with 1 on end.
It must still exist in RHEL 4 Update 3 as this is what were using AS & ES.
It is comming up alot as Im working on a kickstart process and running rebuilds a number of times on a test vmware server.
Thanks though!
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 07:14 PM
07-19-2006 07:14 PM
Re: Kickstart generating partition numbers with 1 on end.
As for the booting problem after e2label:
Of course you'd have to parse the /etc/fstab with sed and to remove 1 if you use the e2label- thus some scripting must be involved. Otherwise you have different missmatch between a label and a line in /etc/fstab - that's why the machine has problem booting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 01:26 PM
07-26-2006 01:26 PM
Re: Kickstart generating partition numbers with 1 on end.
Have been trying to clear the mbr in the %pre part of anaconda kickstart script.
Even though this function works, I can see my echo command and the dd command working it doesnt seem to solve the problem.
Any ideas,
ta,
Robert.
for disks in `list-harddrives | cut -d " " -f 1`; do
echo "**************************************** Zapping MBR $disks ****************************************"
dd if=/dev/zero of=/tmp/$disks bs=1024 count=100
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 08:06 PM
09-19-2006 08:06 PM
Re: Kickstart generating partition numbers with 1 on end.
It would appear that I have got redhat to look at this one and have managed to convince them its a bug not a feature!
They have created a fix at developers level and passing it back to support group for testing.
Hope to have some news shortly!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2006 12:14 PM
10-17-2006 12:14 PM
Re: Kickstart generating partition numbers with 1 on end.
how did you go with Redhat in regards with the /1 partition? I totally had the same problem and had no idea why it was doing this. i am currenty running Redhat 4 update4. if you could reply that would be greatly appreciated.
thanks
james
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2006 12:17 PM
10-17-2006 12:17 PM
Re: Kickstart generating partition numbers with 1 on end.
The last I heard from Redhat (7 Oct 06) was they have agreed it is a bug and have reopened a bugzilla that was found sometime ago on this problem:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=209291
Robert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2006 12:22 PM
10-17-2006 12:22 PM
Re: Kickstart generating partition numbers with 1 on end.
As Redhat have finally decided this problem is a bug not a feature.
Hopefully we shall see a fix in the not too distant future :)
Robert.