gpart

  1. rdslw

    Solved gpart 4k alignment

    I do not understand why gpart thinks that 4k alignment means starting first partition at sector 41, instead of usual 40. Sector size is 512, so 4k alignment should result in starting 40. [root@cyan ~]# gpart create -s GPT ada0 ada0 created [root@cyan ~]# gpart add -t freebsd-boot -s 1024 ada0...
  2. Kay

    Other gpart leaves free space before partition 1 - is this normal?

    I have a ZFS pool consisting of two drives in a mirror VDEV. Now I'm replacing one with a larger capacity. So I first add the 3rd (new) drive to the VDEV for resilvering, before I detach the small drive. However when I partition the new drive in the same way I partitioned my existing drives, I...
  3. B

    ZFS adding swap space

    I setup this HDD with zfs but no swap, now even with 32GB of ram I am running into issues related to swap. I created a swap file but I've been told that's a bad idea and can lead to deadlocks. My goal is to eventually debug the programs that I am using to see how to lower their memory usage but...
  4. Petr Fischer

    Solved Replacing failed disk in ZFS (bootable) mirror - how to recover bootsector

    Hello, I have simple ZFS mirror from 2 disks. Contains zroot. Is bootable (GPT). 1) ZFS mirror was created during FreeBSD installation - I assume, that installer wrote proper gpt bootsector to both disks, so when one disk die in the future, system can boot from second disk - is this true? 2)...
  5. Chris_H

    UFS GPT: secondary header gets rewritten after reboot

    OK I'm tracking CURRENT, where I have this issue. But I don't think it has anything to do with the fact that it's CURRENT. As writing the headers/tables on an 11 box, results in the same error after rebooting with the drive in the CURRENT box. Specifics; Only occurs on USB connected drives --...
  6. P

    Is it possible to increase the size of /usr/home on ZFS without rebooting?

    Hi! Who can tell how to increase the disk space allocated under /usr/home? # freebsd-version 11.0-RELEASE-p8 # cat /etc/rc.conf | grep zfs zfs_enable="YES" # cat /etc/rc.conf | grep vmw vmware_guest_vmblock_enable="NO" vmware_guest_vmhgfs_enable="NO" vmware_guest_vmmemctl_enable="NO"...
  7. Areeb Qaisar

    Format to UFS2 using newfs, in installation

    Hello, I have a UEFI System with GPT Partition Table. During the installation of FreeBSD 11, I need to format a partition to UFS2. The FreeBSD installer does not allows to format an existing partition. It instead only allows to create a new partition, which will be then be formatted. Is...
  8. D

    Solved Partitions corrupted after ZFS export?

    (First post, so hopefully I get my formats right here...) I've been using a very old Open Solaris system with ZFS in a purely offline application for a few years. I moved to a new FreeBSD system (10.3-RELEASE-p4) a few weeks ago. Things are going very well, except for odd behavior with my...
Top