Hi,
I have HP ProLiant DL320G5p, which comes with HP Smart Array E200 RAID controller, configured with RAID-5. I'd like to use it for hosting jails on ZFS partition. I partitioned it manually as follows:
However, it gives me strange alignment:
Zpool also complains:
On another server without RAID controller but with two disks in ZFS mirror, similar partitioning scheme (-a1m) aligns differently (OK), and zpool does not complain:
How to correct problems with partitioning on my server with hardware RAID?
Thank you in advance.
I have HP ProLiant DL320G5p, which comes with HP Smart Array E200 RAID controller, configured with RAID-5. I'd like to use it for hosting jails on ZFS partition. I partitioned it manually as follows:
Code:
gpart destroy -F da0
gpart create -s gpt da0
gpart add -t freebsd-boot -a1m -s512k da0
gpart add -t freebsd-ufs -a1m -s6g da0
gpart add -t freebsd-swap -a1m -s8g da0
gpart add -t freebsd-zfs -a1m da0
Code:
pacija@warden1:~ % gpart show da0
=> 34 1757614617 da0 GPT (838G)
34 758 - free - (379K)
792 1024 1 freebsd-boot (512K)
1816 1024 - free - (512K)
2840 12582912 2 freebsd-ufs (6.0G)
12585752 16777216 3 freebsd-swap (8.0G)
29362968 1728249856 4 freebsd-zfs (824G)
1757612824 1827 - free - (914K)
Code:
pacija@warden1:~ % zpool status
pool: alcatraz
state: ONLINE
status: One or more devices are configured to use a non-native block size.
Expect reduced performance.
action: Replace affected devices with devices that support the
configured block size, or migrate data to a properly configured
pool.
scan: none requested
config:
NAME STATE READ WRITE CKSUM
alcatraz ONLINE 0 0 0
da0p4 ONLINE 0 0 0 block size: 8192B configured, 1048576B native
Code:
pacija@hulk:~ % gpart show ada0
=> 34 488397101 ada0 GPT (233G)
34 2014 - free - (1.0M)
2048 1024 1 freebsd-boot (512K)
3072 1024 - free - (512K)
4096 16777216 2 freebsd-swap (8.0G)
16781312 41943040 3 freebsd-ufs (20G)
58724352 429672448 4 freebsd-zfs (205G)
488396800 335 - free - (168K)
Code:
pacija@hulk:~ % zpool status
pool: pkg
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
pkg ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gpt/0pkgzfs ONLINE 0 0 0
gpt/1pkgzfs ONLINE 0 0 0
errors: No known data errors
How to correct problems with partitioning on my server with hardware RAID?
Thank you in advance.