gpart

  1. indgy

    Other Issue with gpart "Device Busy"

    I have an issue with gpart, it will not let me delete partition ada0p2 responding with “Device Busy” The man page gpart(8) says this may be shown if a partition exists but I cannot seem to delete partition 2 in my case via gpart delete or gpart destroy This is a used disk but new to the...
  2. bokutin

    Other Can I create start 34 with gpart create?

    I'm trying to create the same partition to make it raid, but it doesn't work. Can I make only start 40 with gpart in FreeBSD 12? # camcontrol devlist <Samsung SSD 850 PRO 512GB EXM02B6Q> at scbus6 target 0 lun 0 (pass5,ada4) # new ssd <Samsung SSD 850 PRO 512GB EXM02B6Q> at scbus11 target...
  3. D

    Zfs partition

    Hi I want to build a file server using zfs. I installed the os on mirrored zfs from the bsd installation. The installation formatted the drives automatically with FreeBSD-zfs partition. Now I want to add drives to my new pool called Data. This drives are new. Do I need to gpart the drives...
  4. S

    Solved New SSD, best way to move OS from old disk to new one?

    I have old small 16GB SSD and now I got better 128GB Samsung 850 pro SSD. Copying stuff to new one is easy with dd, but what block size I should use with it? I not sure what to do with old 16GB SSD, maybe it is good place for swap? 16GB SSD is ada0 and 128GB ada1. gpart list Geom name: ada0...
  5. M

    ZFS How to add free space to zpool from different storage device

    As we're running out of disk space, I've added another block storage device and made it a zfs partition with gpart : $ gpart show => 40 125829040 vtbd0 GPT (60G) 40 1024 1 freebsd-boot (512K) 1064 6291456 2 freebsd-zfs (3.0G) 6292520...
  6. 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...
  7. klu

    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...
  8. 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...
  9. 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)...
  10. 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 --...
  11. 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"...
  12. 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...
  13. 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...
Back
Top