Re: Referencing disks by-path in kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> because of this from http://fedoraproject.org/wiki/Anaconda/Kickstart
> 
>         --ondisk= or --ondrive=
> 
>             Forces the partition to be created on a particular disk.
> Do not prefix the disk name with /dev.

The best fix here is to probably make sure all these commands don't care
about /dev being there or not, then remove these references in the
documentation.

> Just tried:
> 
> clearpart --all --drives=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0,/dev/disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0
> --initlabel
> part raid.100000 --size=128
> --ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0
> part raid.100003 --size=128
> --ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0
> part raid.100001 --size=10000 --grow
> --ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0
> part raid.100004 --size=10000 --grow
> --ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0
> 
> but with 13.35 I get the error:
> 
> Speciefied nonexistent disk
> /dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0 in clearpart
> command.

This definitely worked at one point, but I'll give it another test
within a day or two and see what's up.

Is there anything special about the disk in question?

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux