Martti Kuparinen wrote: > Hi, > > How can I create (preferably only one large 5+ TB) filesystem on this disk? > > NetBSD 5.0_RC2 (GENERIC) #1: Fri Feb 20 04:49:20 EET 2009 > ... > sd0 at scsibus0 target 0 lun 0: <DELL, PERC 5/i, 1.03> disk fixed > sd0: fabricating a geometry > sd0: 5586 GB, 5720064 cyl, 64 head, 32 sec, 512 bytes/sect x 11714691072 > sectors > sd0: fabricating a geometry > sd0: mbr partition exceeds disk size > sd0: GPT GUID: 95027669-f71d-4a6f-9312-a1c4e5746c7e > dk0 at sd0: 4d4bdea5-b403-4de4-bf43-891756465be0 > > # disklabel sd0 > a: 3124756480 0 4.2BSD 0 0 0 > d: 3124756480 0 unused 0 0 0 > # disklabel dk0 > disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device > > # newfs /dev/sd0a > newfs: /dev/sd0a: open for read: Device busy > # newfs /dev/sd0d > newfs: /dev/sd0d: open for write: Device busy > # newfs /dev/dk0 > newfs: /dev/dk0: open for write: Device busy > > # dkctl dk0 getwedgeinfo > dk0 at sd0: 4d4bdea5-b403-4de4-bf43-891756465be0 > dk0: 11714691005 blocks at 34, type: > # dkctl dk0 listwedges > dkctl: /dev/rdk0: listwedges: Inappropriate ioctl for device You cant use disklabel for this size, so you have to try wedges, LVM (which is current only at the time) or using the raw disk. You may find discussion about this in the archives. -- When in doubt, use brute force. Adam Hoka <ahoka%NetBSD.org@localhost> Adam Hoka <ahoka%MirBSD.de@localhost> Adam Hoka <adam.hoka%gmail.com@localhost>
Attachment:
pgpOIEe9Sc7Zx.pgp
Description: PGP signature