I have used FreeBSD since about Release 2. It was upgraded over time and occasionally refreshed with fresh installs and the hardware replaced from time to time.
Most recently I decided to do a fresh install of Release 13 from 12 and to convert a mixed UFS/ZFS installation to a pure ZFS/Bios installation with a new 8TB disk. Things looked good for a few months and blew up last week. I'm going to rebuild (from fresh) to R15 since the old system is perking along just fine. My thoughts are to return to the hybrid, buy a new small disk, or as a last resort, get a new MB which has its own complications.
A fresh installation of BIOS based ZFS on the 8TB disk and a boot setup worked for about 5 months when it lost the boot loader stage 3. The older mixed disk boots just fine, but will not boot nor mount the newer version due to ZFS upgrades.
The R12 version does not support the R13 gpt ZFS disk (shown below) but a USB live system will mount both disks. The primary use the new disk was to collect large files (2- 200 GB) from other data collection systems and archive them for eventual analysis.
When I bought the 8TB disk I was unaware of a problem that has been reported with BIOS based boot system whereby there Boot Stage 3 apparently gets lost beyond a certain disk address space that has been debated on these forums. So, I'd like to use the new disk without having to upgrade the motherboard for now (future budget though), if that is possible. The thoughts have been that the 512k limit on the MBR space truncates a high order address bit and the boot loader gets lost once a number of ZFS re-writes take place. So, I'm thinking the best way to use this disk is to partition it into 2 TB or smaller on the one hand or on the other hand keep the large ZFS at the end of the disk and set up some UFS space at the beginning and go from there. But I'm a little bit gun shy after the disk boot went away. The data is safe and I can get it off if won't boot using the USB R15 boot, but I'd rather not go through that again.
I'm looking for a best practices thoughts and suggestions before I go zapping the new 8TB disk and ending up with the same problem in a couple of months.
Early in many of those discussions discussion revolved around bad disks v. hardware v. software but ultimately the consensus was that BIOS and bigger than 2 TB MBR systems were not a happy marriage. So, I'm looking for advice on best practices for configuring a system either hybrid UFS/ZFS or pure ZFS.
Here's the original disk (working for years):
And the new disk GPT info:
The later stage boot seems to get lost on a loader error 5 after a number of large dataset writes/revisions (~ 500 GB data file transfers). This never happened on the smaller disk/Release 12 setup. I'm thinking I need to repartition the disk to include a root mountpoint after the freebsd-boot partition (/dev/ada1p1). Or do I just need to break up the ada1p3 into < 2TB segment/partitions?
If anyone has any insight or can point me to a good reading source, that will help me figure out how to best live within my current HW limits, I would very much appreciate the help. I have no preconceptions on how to best do this, except I'm not a fan of repetitive work, and I am a fan of reliability which is why I use FreeBSD. Thanks, folks.
Most recently I decided to do a fresh install of Release 13 from 12 and to convert a mixed UFS/ZFS installation to a pure ZFS/Bios installation with a new 8TB disk. Things looked good for a few months and blew up last week. I'm going to rebuild (from fresh) to R15 since the old system is perking along just fine. My thoughts are to return to the hybrid, buy a new small disk, or as a last resort, get a new MB which has its own complications.
A fresh installation of BIOS based ZFS on the 8TB disk and a boot setup worked for about 5 months when it lost the boot loader stage 3. The older mixed disk boots just fine, but will not boot nor mount the newer version due to ZFS upgrades.
The R12 version does not support the R13 gpt ZFS disk (shown below) but a USB live system will mount both disks. The primary use the new disk was to collect large files (2- 200 GB) from other data collection systems and archive them for eventual analysis.
When I bought the 8TB disk I was unaware of a problem that has been reported with BIOS based boot system whereby there Boot Stage 3 apparently gets lost beyond a certain disk address space that has been debated on these forums. So, I'd like to use the new disk without having to upgrade the motherboard for now (future budget though), if that is possible. The thoughts have been that the 512k limit on the MBR space truncates a high order address bit and the boot loader gets lost once a number of ZFS re-writes take place. So, I'm thinking the best way to use this disk is to partition it into 2 TB or smaller on the one hand or on the other hand keep the large ZFS at the end of the disk and set up some UFS space at the beginning and go from there. But I'm a little bit gun shy after the disk boot went away. The data is safe and I can get it off if won't boot using the USB R15 boot, but I'd rather not go through that again.
I'm looking for a best practices thoughts and suggestions before I go zapping the new 8TB disk and ending up with the same problem in a couple of months.
Early in many of those discussions discussion revolved around bad disks v. hardware v. software but ultimately the consensus was that BIOS and bigger than 2 TB MBR systems were not a happy marriage. So, I'm looking for advice on best practices for configuring a system either hybrid UFS/ZFS or pure ZFS.
Here's the original disk (working for years):
Code:
dev01@usr/uz0 # gpart show -p ada0
=> 34 3907029101 ada0 GPT (1.8T)
34 6 - free - (3.0K)
40 94 ada0p1 freebsd-boot (47K)
134 1914 - free - (957K)
2048 4194304 ada0p2 freebsd-ufs (2.0G)
4196352 25165824 ada0p3 freebsd-swap (12G)
29362176 10485760 ada0p4 freebsd-ufs (5.0G)
39847936 10485760 ada0p5 freebsd-ufs (5.0G)
50333696 1048576000 ada0p6 freebsd-ufs (500G)
1098909696 2808119439 ada0p7 freebsd-zfs (1.3T)
Code:
/uz0 # zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
uz0 1.30T 732G 604G - - - 54% 1.00x ONLINE -
root@waltr:/uz0 # zfs list
NAME USED AVAIL REFER MOUNTPOINT
uz0 732G 562G 5.60G /uz0
uz0/backups 365G 562G 365G /uz0/backups
uz0/db 391M 562G 388M /db
uz0/mbp0 295G 562G 294G /uz0/mbp0
uz0/var 43.0G 562G 39.5K /uz0/var
uz0/var/cache 25K 562G 25K /uz0/var/cache
uz0/var/crash 25K 562G 25K /uz0/var/crash
uz0/var/db 1.16G 562G 1.14G /uz0/var/db
uz0/var/db/pkg 18.8M 562G 18.8M /uz0/var/db/pkg
uz0/var/empty 41.8G 562G 41.8G /uz0/var/empty
uz0/var/log 25K 562G 25K /uz0/var/log
uz0/var/mail 25K 562G 25K /uz0/var/mail
uz0/var/run 25K 562G 25K /uz0/var/run
uz0/var/tmp 46.3M 562G 46.3M /uz0/var/tmp
uz0/www 22.8G 562G 22.8G /www
Code:
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/rootfs 1.9G 284M 1.5G 16% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/gpt/tmpfs 4.8G 84M 4.4G 2% /tmp
/dev/gpt/usrfs 484G 333G 113G 75% /usr
/dev/gpt/varfs 4.8G 452M 4.0G 10% /var
procfs 4.0K 4.0K 0B 100% /proc
uz0/www 585G 23G 562G 4% /www
uz0 568G 5.6G 562G 1% /uz0
uz0/db 562G 388M 562G 0% /db
uz0/var 562G 40K 562G 0% /uz0/var
uz0/mbp0 856G 294G 562G 34% /uz0/mbp0
uz0/var/cache 562G 25K 562G 0% /uz0/var/cache
uz0/var/tmp 562G 46M 562G 0% /uz0/var/tmp
uz0/var/crash 562G 25K 562G 0% /uz0/var/crash
uz0/var/mail 562G 25K 562G 0% /uz0/var/mail
uz0/var/db 563G 1.1G 562G 0% /uz0/var/db
uz0/var/log 562G 25K 562G 0% /uz0/var/log
uz0/var/empty 604G 42G 562G 7% /uz0/var/empty
uz0/var/run 562G 25K 562G 0% /uz0/var/run
uz0/var/db/pkg 562G 19M 562G 0% /uz0/var/db/pkg
uz0/backups 927G 365G 562G 39% /uz0/backups
And the new disk GPT info:
Code:
/uz0 # gpart show -p ada1
=> 40 15628053088 ada1 GPT (7.3T)
40 1024 ada1p1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 ada1p2 freebsd-swap (2.0G)
4196352 15623856128 ada1p3 freebsd-zfs (7.3T)
15628052480 648 - free - (324K)
If anyone has any insight or can point me to a good reading source, that will help me figure out how to best live within my current HW limits, I would very much appreciate the help. I have no preconceptions on how to best do this, except I'm not a fan of repetitive work, and I am a fan of reliability which is why I use FreeBSD. Thanks, folks.