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: 10687 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 |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5940
|
Posted: Sat Jan 04, 2025 2:02 pm Post subject: |
|
|
Was this disk used in a zpool in the past? If so, you might need to run on the disk to remove the remnants of the old pool.
Cheers _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 828 Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.
|
Posted: Tue Jan 07, 2025 2:14 pm Post subject: |
|
|
It could be a bad disk.
If not, try deleting the partition table. _________________ I spent a christmas in Vienna twenty something years ago. It was a beautiful city. Everyone was so friendly. |
|
Back to top |
|
|
|