Summary: Enlarging disk slices after installation

From: Andreas Höschler (ahoesch_at_smartsoft.de)
Date: 12/21/04

  • Next message: Andreas Höschler: "Routing after reconfiguration of interfaces"
    Date: Tue, 21 Dec 2004 19:24:34 +0100
    To: sunmanagers@sunmanagers.org
    
    

    Hello Managers,

    thanks to

    "PSI" <sipark_m@fineit.net>
    "Ghassan Qanzu'a" <ghassan@sts.com.ps>
    "Bill R. Williams" <brw@etsu.edu>

    and especially to

    Darren Dunham <ddunham@taos.com>

    who guided me through the process of rescuing my setup.

    I was installing Solaris 9 with the PC console selection. For whatever
    reason I was not able to reserve space for slices 4 and 7 during the
    installtion as I used to do when installing Solaris 8. However, I left
    free a good GByte of disk space.

    Then after installing Solaris 9 on the first disk I used format ->
    partition to assign space to slices 4 and 7, copied the VTOC to the
    second disk, built the mirrors and let the sync process start. At this
    time Darren realized that slice 4 (/var) and slice 7 overlapped.

            0 - 4962 swap
            4963 - 5687 slice 4
            5688 - 5709 slice 7
            5696 - 7821 /var
            7822 - 24619 /

      I was able - I at least hope so - to rescue this as follows:

            metadb -d c1t0d0s7
            resize slice 7 on disk 1 with format -> partition
            metadb -a -c 2 c1t0d0s7

            metadb -d c1t1d0s7
            resize slice 7 on disk 0 with format -> partition
            metadb -a -c 2 c1t1d0s7

    After the sync process finished I made sure that I can boot from both
    disks.

    Thanks a lot!

    Regards,

      Andreas

    >> "state database" for the last two slices,so I left some space for them
    >
    > in which case there should be some unused space that you can allocate
    > (format) for your s4 and s7 slices. Then you should be able to create
    > your state database, crash dump, etc.
    >
    > No?
    > --
    > ---------------------------------------------
    > Bill R. Williams <brw@etsu.edu>
    > ------------------------ ETSU Library Systems
    >
    > On Tue, Dec 21, 2004 at 12:45:58AM +0100, Andreas Hvschler wrote:
    >> Dear managers,
    >>
    >> I am setting up Solaris 9 on a SunFire 280 R. It seems I got the wrong
    >> installation method. Normally setup the slices as follows
    >>
    >> c1t0d0s0 / 23696 MByte
    >> c1t0d0s1 swap 7001 MByte
    >> c1t0d0s3 /var 3000 MByte
    >> c1t0d0s4 crash dumps 1000 MByte
    >> c1t0d0s7 state database 31 MByte
    >>
    >> but during the setup I was not allowed to enter "crash dumps" and
    >> "state database" for the last two slices,so I left some space for them
    >> to set them up later. Solaris 9 is not installed on the first disk. I
    >> jsut tried
    >>
    >> metadb -a -f -c 2 c1t0d0s7
    >>
    >> which of course fails with
    >>
    >> metadb: sunfire: c1t0d0s7: device size 0 is too small for metadevice
    >> database replica
    >>
    >> How can I resize the last tw slices from 0 to 1000 MBYte and 31 MByte
    >> now?
    >>
    >> Thanks a lot!
    >>
    >> Regards,
    >>
    >> Andreas
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Andreas Höschler: "Routing after reconfiguration of interfaces"

    Relevant Pages

    • Re: Solaris 10 (x86) partition schema recommendations
      ... > Do not put anything on slice two; it is reserved for the whole disk. ... Should I do that too with my own setup or just use slices 0, 1, and 3? ... > You might want a bigger swap. ...
      (comp.unix.solaris)
    • Re: How to safely merge two slices on harddisk?
      ... The disk slices are as follows: ... all the information from /mnt into some new tree in /usr/ports. ... Having done that partition /dev/ad1s1g becomes free and you ...
      (freebsd-questions)
    • Disk geometry
      ... partition and two slices with some data on it. ... indicates the disk. ... Entering the disk I was warned that disk geometry is wrong. ... HDD IBM DeskStar 60GB ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Partitions???
      ... in something like FreeBSD you carve up the slice ... some people sometimes leave a chunk of disk that is not allocated ... sectors in each of the bootable primary slices on disk. ... it will put up the bootable slices on that one ...
      (freebsd-questions)
    • Re: Disk Mirroring help
      ... I want to mirror the disks running Sun Solaris 8. ... I never assigned slices for SDS at the time of OS installation. ... data must be able to fit on only one disk, ... one can simply steal space from the swap partition and assign those ...
      (comp.sys.sun.admin)