Bug 7980

Summary: kickstart: clearpart --all/linux
Product: [Retired] Red Hat Linux Reporter: Vilius Puidokas <knopka>
Component: installerAssignee: Jay Turner <jturner>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.1CC: protocol, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-18 19:41:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Vilius Puidokas 1999-12-24 03:38:15 UTC
just got a chance to learn in a hard way the fact that:

'clearpart --all' affects not only all partitions, but also all _drives_.

There's nothing mentioned about multidisk stuff in kickstart. Also one
can't specify on which drive should be exact partition built, so one can
make a very *bad* assumption that "kickstart doesn't touch any other

let's put at least into documentation, that ks DOES touch other disk drives
(hdb, sdb, sdc...), even if you can't do partitioning on them.

suggestion - what about a possibility to give some kindof mix of these
three tables:
  fstab (where to mount),
  fdisk (what to mount, maybe even let playing with cylinders?)
  and our ks table (--size, --grow, --maxsize..)

also: looks like wiping out partition table is not done very clean (touches
fs data?), at least i failed to restore my 6 ext2 fs :'(
[well, had not much time for that]

Comment 1 Erik Troan 2000-02-18 19:41:59 UTC
this is documented in our manual

Comment 2 Vilius Puidokas 2000-02-18 21:03:59 UTC
ok, i'll be short this time. But just to keep docs (and RH) accurate:
(also hardcopy of manual on my desk) contains:

-To clear all partitions from a disk, this line would do the trick:
- clearpart --all

should sound like:
+To clear all partitions from all disks, this line would do the trick:
+ clearpart --all

p.s. if it shouldn't touch other disks then it's a bug.