Re: newfs limits? 10TB filesystem max?

From: Claus Guttesen (cguttesen_at_yahoo.dk)
Date: 02/16/05

  • Next message: Don Lewis: "Re: where did all my memory go?"
    Date: Wed, 16 Feb 2005 22:53:25 +0100 (CET)
    To: Eric Anderson <anderson@centtech.com>, FreeBSD Current <freebsd-current@freebsd.org>
    
    

    > I've just built an enormous 10TB filesystem. When
    > trying to newfs the disk, it bombed with something
    > like "cannot allocate memory" after something like
    > 23xxxxxxxxx sectors.. I noticed disklabel complains
    > about disks with more than 2^32-1 sectors not being
    > supported..

    Aren't you supposed to use gpt(8) to define partitions
    larger than 2 TB?

    > Is newfs supposed to be able to work? I've used the
    > -s option to newfs to limit my filesystem size to
    > the max it would allow, which ends up being
    > 11350482546 1K blocks, which means I'm only losing a
    > couple GB, which is no sweat right now for me, but
    > if someone wanted a 20TB filesystem, they'd be
    > hosed.

    Then the question is whether newfs reads
    gpt-partitioned disks? From newfs(8):

    Before running newfs the disk must be labeled using
    bsdlabel(8).

    How did you create such a huge partition? Your
    question is quite interesting, I'm at a
    storage-solution which supports LUN's larger than 2.2
    TB.

    regards
    Claus

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Don Lewis: "Re: where did all my memory go?"

    Relevant Pages

    • Re: modify filesystem of linux
      ... Technically, you don't move space from one mount directory to another, you ... Assuming you've just got two ext2 filesystems on a pair of primary partitions, ... Just backup all of the data on all partitions on the disk (make at least two ... The resize2fs program can change the size of an ext2 filesystem. ...
      (comp.os.linux.development.system)
    • Re: getting usb mass storage to finish before running init?
      ... I realized that in my config only the flash disk has 2 partitions (the ... >> well, the root filesystem is an initrd, so I can't do that. ...
      (Linux-Kernel)
    • Re: [opensuse] rsync questions - backups - again !
      ... dd can build a bootable disk. ... including the Master Boot Record. ... complete copies of partitions, to do a bare metal restore. ... if the filesystem is consistent. ...
      (SuSE)
    • Re: Trying to partition a 400 GB drive in one FAT 32 partition....
      ... but you have to force mkdosfs to put a filesystem on a raw ... filesystems on disk drives under Linux. ... floppy drive with no partitions. ... I have tried putting filesystems on raw disks with other types ...
      (rec.photo.digital)
    • Re: mount --bind question.
      ... I would *highly* suggest more than two partitions; ... something specific for whatever disk space you have left. ... >back into the right place in the filesystem through symlinks in the root ... but I'm wondering if it would be better to use mount ...
      (comp.os.linux.misc)