FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 03-18-2010, 07:36 PM
Orion Poplawski
 
Default Referencing disks by-path in kickstart

Is it possible yet to reference disks "by-path" in kickstart files?

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-19-2010, 12:59 PM
Chris Lumens
 
Default Referencing disks by-path in kickstart

> Is it possible yet to reference disks "by-path" in kickstart files?

Yes, it should be possible to reference disks by-anything, as long as
that's in /dev/disk/. You will have to reference the disk as
"/dev/disk/by-path/whatever", though. You can also use globs.

See commits 3abbd27ac33739946d30c51a49ca223674d42b6c and
ba470b1e6ac12253fde82564317585bc863a8f7c for more details.

If you find a place where this is not working, please let me know.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-19-2010, 01:35 PM
Orion Poplawski
 
Default Referencing disks by-path in kickstart

On 03/19/2010 07:59 AM, Chris Lumens wrote:

Is it possible yet to reference disks "by-path" in kickstart files?


Yes, it should be possible to reference disks by-anything, as long as
that's in /dev/disk/. You will have to reference the disk as
"/dev/disk/by-path/whatever", though. You can also use globs.

See commits 3abbd27ac33739946d30c51a49ca223674d42b6c and
ba470b1e6ac12253fde82564317585bc863a8f7c for more details.

If you find a place where this is not working, please let me know.

- Chris


Thanks. At first I tried without the /dev like this:

clearpart --all
--drives=disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0,disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0
--initlabel
part raid.100000 --size=128
--ondisk=disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0
part raid.100003 --size=128
--ondisk=disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0
part raid.100001 --size=10000 --grow
--ondisk=disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0
part raid.100004 --size=10000 --grow
--ondisk=disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0


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.


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.


That link does indeed exist.

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-19-2010, 02:01 PM
Chris Lumens
 
Default Referencing disks by-path in kickstart

> 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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-19-2010, 02:16 PM
Orion Poplawski
 
Default Referencing disks by-path in kickstart

On 03/19/2010 09:01 AM, Chris Lumens wrote:

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?


Nope - plain old IDE on an Intel 82801CA Ultra ATA

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-22-2010, 01:44 PM
Chris Lumens
 
Default Referencing disks by-path in kickstart

> >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?
>
> Nope - plain old IDE on an Intel 82801CA Ultra ATA

Filed:

https://bugzilla.redhat.com/show_bug.cgi?id=575855

Hopefully I can even get to it before F13 goes out.

- Chris

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

Thread Tools




All times are GMT. The time now is 09:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org