From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 18:00:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FDFF1065670 for ; Tue, 21 Oct 2008 18:00:17 +0000 (UTC) (envelope-from Tad1214@aol.com) Received: from imo-d21.mx.aol.com (imo-d21.mx.aol.com [205.188.144.207]) by mx1.freebsd.org (Postfix) with ESMTP id 181B18FC21 for ; Tue, 21 Oct 2008 18:00:16 +0000 (UTC) (envelope-from Tad1214@aol.com) Received: from Tad1214@aol.com by imo-d21.mx.aol.com (mail_out_v39.1.) id n.bc6.367854d7 (37072) for ; Tue, 21 Oct 2008 13:50:06 -0400 (EDT) Received: from Osprey2.cptxoffice.net (ng1.cptxoffice.net [208.74.121.102]) by cia-db05.mx.aol.com (v121_r3.13) with ESMTP id MAILCIADB056-90d048fe164eec; Tue, 21 Oct 2008 13:50:06 -0400 Message-ID: <48FE1643.9050405@aol.com> Date: Tue, 21 Oct 2008 12:49:55 -0500 From: Thomas Donnelly User-Agent: Thunderbird 2.0.0.16 (X11/20080917) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 208.74.121.102 X-Mailer: Unknown (No Version) X-Spam-Flag: NO Subject: Expanding slice/partition on SPARC64 with gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 18:00:17 -0000 Hi all, I am still fairly new to FreeBSD but here is the situation I have a sparc Netra T1 AC 200, running FBSD 6-stable. It had dual 18GB disks in a gmirror raid 1, As can be imagined, ran out of space quickly. I purchased 2x73GB scsi drives. I removed 1 of the 18GBs, placed 73GB in, rebuilt the mirror, removed the other 18GB, inserted 73GB, rebuilt mirror. Ok, so I have 2 73GB drives in there in a mirror (/dev/mirror/gm0) they are partitioned as such: Otter# df -h Filesystem Size Used Avail Capacity Mounted on /dev/mirror/gm0a 501M 70M 392M 15% / devfs 1.0K 1.0K 0B 100% /dev /dev/mirror/gm0e 501M 356K 461M 0% /tmp /dev/mirror/gm0f 11G 9.8G 771M 93% /usr /dev/mirror/gm0d 1.9G 165M 1.6G 9% /var I want to grow the /usr partition to fill the rest of the 73gb. What do I need to do. sunlabel always complains about geom not found whenever I try to do anything so I assume I need to break the mirror and change things then rebuild the mirror? Not sure how to do this and even when I do get it to work I'm not sure what I need to do with sunlabel. Thanks!!!! -=Tom Donnelly Please CC me as I am not on the list. Relevant info: Sunlabel shows: # /dev//mirror/gm0: text: FreeBSD17G cyl 2200 alt 2 hd 255 sec 63 bytes/sector: 512 sectors/cylinder: 16065 sectors/unit: 35343000 8 partitions: # # Size is in sectors. # Offset is in cylinders. # size offset # ---------- ---------- a: 1060290 0 b: 4144770 66 c: 35343000 0 d: 4176900 324 e: 1060290 584 f: 24900750 650 dmesg: Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.4-PRERELEASE #1: Thu Oct 2 11:40:35 CDT 2008 root@Otter.hsd1.mn.comcast.net.:/usr/obj/usr/src/sys/GENERIC Timecounter "tick" frequency 500000000 Hz quality 1000 real memory = 1073741824 (1024 MB) avail memory = 1031413760 (983 MB) cpu0: Sun Microsystems UltraSparc-IIe Processor (500.00 MHz CPU) kbd0 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC) nexus0: pcib0: on nexus0 pcib0: Sabre, impl 0, version 0, IGN 0x7c0, bus A, 66MHz pcib0: [FAST] pcib0: [FAST] pcib0: [GIANT-LOCKED] pcib0: [GIANT-LOCKED] pcib0: DVMA map: 0xc0000000 to 0xc3ffffff pci0: on pcib0 pcib1: at device 1.1 on pci0 pci1: on pcib1 ebus0: mem 0xf0000000-0xf0ffffff,0xf1000000-0xf17fffff at device 12.0 on pci1 ebus0: : incomplete ebus0: addr 0x1000000000-0x10000fffff (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 ebus0: addr 0x1400200000-0x1400200003 irq 42 (no driver attached) pci1: at device 3.0 (no driver attached) isab0: at device 7.0 on pci1 isa0: on isab0 gem0: mem 0xe0400000-0xe041ffff at device 12.1 on pci1 miibus0: on gem0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem0: 2kB RX FIFO, 2kB TX FIFO gem0: Ethernet address: 08:00:20:fd:f7:9c ohci0: mem 0xe2000000-0xe2007fff at device 12.3 on pci1 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x108e) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered atapci0: port 0x400-0x407,0x418-0x41b,0x410-0x417,0x408-0x40b,0x420-0x42f at device 13.0 on pci1 atapci0: using PIO transfers above 137GB as workaround for 48bit DMA access bug, expect reduced performance ata2: on atapci0 ata3: on atapci0 gem1: mem 0xe0440000-0xe045ffff at device 5.1 on pci1 miibus1: on gem1 ukphy1: on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem1: 2kB RX FIFO, 2kB TX FIFO gem1: Ethernet address: 08:00:20:fd:f7:9c ohci1: mem 0xe5000000-0xe5007fff at device 5.3 on pci1 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: (0x108e) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered pcib2: at device 1.0 on pci0 pci2: on pcib2 sym0: <896> port 0xc00000-0xc000ff mem 0x2000-0x23ff,0x4000-0x5fff at device 8.0 on pci2 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking sym0: [GIANT-LOCKED] sym1: <896> port 0xc00100-0xc001ff mem 0x6000-0x63ff,0x8000-0x9fff at device 8.1 on pci2 sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking sym1: [GIANT-LOCKED] nexus0: , type (unknown) (no driver attached) uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 43 on isa0 uart0: console (9600,n,8,1) uart1: <16550 or compatible> at port 0x2e8-0x2ef irq 43 on isa0 Timecounters tick every 1.000 msec Waiting 5 seconds for SCSI devices to settle (probe0:sym0:0:0:4): AutoSense Failed (probe0:sym0:0:0:5): AutoSense Failed (probe0:sym0:0:0:6): AutoSense Failed (probe0:sym0:0:0:7): AutoSense Failed da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 70007MB (143374738 512 byte sectors: 255H 63S/T 8924C) da1 at sym0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 70007MB (143374738 512 byte sectors: 255H 63S/T 8924C) GEOM_MIRROR: Device gm0 created (id=915151075). GEOM_MIRROR: Device gm0: provider da0 detected. GEOM_MIRROR: Device gm0: provider da1 detected. GEOM_MIRROR: Device gm0: provider da1 activated. GEOM_MIRROR: Device gm0: provider da0 activated. GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. Trying to mount root from ufs:/dev/mirror/gm0a