Bug 1031494

Summary: Fail to set default fs type to xfs when pxe installing
Product: Red Hat Enterprise Linux 7 Reporter: Luwen Su <lsu>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: dshea
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-22 14:40:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 3 Luwen Su 2013-11-22 10:48:29 UTC
Hi ,

I think i found the root reason , when i write something like

part / --fstype=ext4 --size=40960
part /tmp  --fstype=ext4 --size=20000
part swap --fstype=swap --size=1024
part pv.01 --size=10000

, then the profile will trigger the issue , but if use autopart , then everything will be okay.

Any susgestion suggestion?

Comment 4 David Shea 2013-11-22 14:40:37 UTC
(In reply to time.su from comment #3)
> Hi ,
> 
> I think i found the root reason , when i write something like
> 
> part / --fstype=ext4 --size=40960
> part /tmp  --fstype=ext4 --size=20000
> part swap --fstype=swap --size=1024
> part pv.01 --size=10000

Well, there's your problem. --fstype=ext4 is setting the fs type to ext4, overriding the default from the installclass. Use --fstype=xfs.

Comment 5 David Lehman 2013-11-22 15:00:31 UTC
You can also omit the --fstype option completely to get the default fstype, which would in your case be xfs.