[Aurora-sparc-user] Aurora still going?

Chuck Anderson cra at WPI.EDU
Sat May 16 20:33:55 EDT 2009


On Fri, Apr 03, 2009 at 10:53:15AM -0400, Tom spot Callaway wrote:
> We're in the process of migrating into Fedora SPARC. Slow, but steady
> progress. We have a half-working Fedora 9 Beta ISO here:
> 
> http://secondary.fedoraproject.org/pub/fedora-secondary/releases/test/9-Beta/Fedora/sparc/iso/

I just tried this on an Ultra 10.  I had a weird issue with fsck on 
bootup.  It says /dev/sda is in use, then fails the fsck to the Repair 
Filesystem prompt:

fsck.ext3: Device or resource busy while trying to open /dev/sda
Filesystem mounted or opened exclusively by another program?

I had to edit /etc/rc.sysinit to have it ignore this error just to be 
able to boot up the first time...

/dev/sda isn't mentioned in /etc/fstab:

/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
UUID=523e895a-22b7-4a7a-80dc-261faf0bd57a /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

But I think the /boot entry is being recognized/mapped to /dev/sda 
somehow.  It doesn't mount on bootup, and trying to mount it manually:

[root at sun ~]# mount /boot
mount: /dev/sda already mounted or /boot busy

I think this is because Anaconda messed something up with the 
partitioning.  Is there supposed to be free space left at the 
beginning of the disk for the Sun Diskabel?

[root at sun ~]# fdisk -l /dev/sda
Detected sun disklabel with wrong version [0x00000000].
Detected sun disklabel with wrong sanity [0x00000000].
Detected sun disklabel with wrong num_partitions [0].
Warning: Wrong values need to be fixed up and will be corrected by 
w(rite)

Disk /dev/sda (Sun disk label): 255 heads, 63 sectors, 1108 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/sda1             0        25    200812+   1  Boot
/dev/sda2            25      1108   8699197+  8e  Linux LVM
/dev/sda3             0      1108   8900010    5  Whole disk

And Anaconda decided to make a PV out of the entire /dev/sdb device, 
rather than creating a partition table there:

[root at sun ~]# fdisk -l /dev/sdb

Disk /dev/sdb: 13.6 GB, 13601193984 bytes
255 heads, 63 sectors/track, 1653 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

[root at sun ~]# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdb
  VG Name               VolGroup00
  PV Size               12.66 GB / not usable 6.53 MB
  Allocatable           yes (but full)
  PE Size (KByte)       32768
  Total PE              405
  Free PE               0
  Allocated PE          405
  PV UUID               WjtLSC-SAfF-tJ68-3uSK-6Fel-ADak-rbuAuf
   
  --- Physical volume ---
  PV Name               /dev/sda2
  VG Name               VolGroup00
  PV Size               8.30 GB / not usable 15.31 MB
  Allocatable           yes 
  PE Size (KByte)       32768
  Total PE              265
  Free PE               2
  Allocated PE          263
  PV UUID               yHmtJ9-2tnJ-2lqL-Smmv-nRSE-4o3m-xom0Zo


[root at sun ~]# vgdisplay
  --- Volume group ---
  VG Name               VolGroup00
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               20.94 GB
  PE Size               32.00 MB
  Total PE              670
  Alloc PE / Size       668 / 20.88 GB
  Free  PE / Size       2 / 64.00 MB
  VG UUID               0IAvNk-xkKV-Qx1s-HORT-81VY-QL80-sYoX8J


[root at sun ~]# lvdisplay
  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                QSYPCt-sE8r-hAI4-KyV1-1YPg-jAaB-HaEYOP
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                20.38 GB
  Current LE             652
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
   
  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                Ol3Xpn-son7-yjWa-eEJQ-dWDQ-3Seh-fyAU0p
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                512.00 MB
  Current LE             16
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
   
This was installed taking all defaults and "remove all partitions and 
create a default layout", with zeroed-out blank disks beforehand.  
Excerpt of anaconda-ks.cfg partitioning here:

# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --all --drives=sda,sdb
#part /boot --fstype ext3 --size=200 --ondisk=sda
#part pv.5 --size=0 --grow --ondisk=sdb
#part pv.4 --size=0 --grow --ondisk=sda
#volgroup VolGroup00 --pesize=32768 pv.5 pv.4
#logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=256 --grow --maxsize=512
#logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow


More information about the Aurora-sparc-user mailing list