View previous topic :: View next topic |
Author |
Message |
ccgllc n00b
Joined: 21 Jul 2018 Posts: 28 Location: NE Missouri
|
Posted: Fri Dec 13, 2024 9:28 pm Post subject: zpool create failure |
|
|
Having problems creating a raidz2 zfs pool. This is a new AMD Ryzen 9 9950X, with the 870E chipset (relatively new).
Disk are brand new Seagate Enterprise 8GB drives.
Code: | livecd /etc/init.d # zpool create -f scratch raidz2 sda sdb sdc sdd sde sdf
cannot label 'sda': failed to detect device partitions on '/dev/sda1': 19
Error preparing/labeling disk.
livecd /etc/init.d # parted /dev/sda print
Model: ATA ST8000NM0045-1RL (scsi)
Disk /dev/sda: 8002GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 8389kB 8001GB 8001GB zfs-390b67c250463a8f
9 8001GB 8002GB 67.1MB |
I've done similar things successfully in the past. These will be the only non-nvme disk in the system, so the device names are highly unlikely to change.
I've tried dd zeroing sda, no change.
Would sure appreciate some suggestions! _________________ Linux since 0.96 kernel on a 4 floppy slackware distribution |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10674 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat Dec 14, 2024 3:15 pm Post subject: |
|
|
Myself, I've never tried bare devices, but rather only ever partitioned ones.
Also, I highly recommend using the /dev/disk/by-id paths because it makes it easier to positively identify the physical devices in the event of need for replacement. ZFS appears to be immune to the sort of race-condition-induced device renaming once the pool is created, but it's still a good idea.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|