i got it, it was the multipath all along, sheez.
blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z][[0-9]*]"
devnode "^cciss!c[0-9]d[0-9]*"
# root@machine ~ > lsscsi
# [0:2:0:0] disk FTS PRAID CP400i 4.66 /dev/sda
# [3:0:0:0] disk FUJITSU ETERNUS_DXL 1080 /dev/sdb
# [12:0:0:0] disk FUJITSU ETERNUS_DXL 1080 /dev/sdc
# [13:0:0:0] disk BUFFALO HD-ABCDE 0108 /dev/sdd
device {
vendor "FTS"
product "PRAID.*"
}
device {
vendor "BUFFALO"
}
}
Sorry, hadn't time to read the forums all day. That was my first thought and therefore I asked for the lsblk. Please always use blacklist device for local storage. The name can be determined e.g. by lsscsi:
Code:blacklist { devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" devnode "^hd[a-z][[0-9]*]" devnode "^cciss!c[0-9]d[0-9]*" # root@machine ~ > lsscsi # [0:2:0:0] disk FTS PRAID CP400i 4.66 /dev/sda # [3:0:0:0] disk FUJITSU ETERNUS_DXL 1080 /dev/sdb # [12:0:0:0] disk FUJITSU ETERNUS_DXL 1080 /dev/sdc # [13:0:0:0] disk BUFFALO HD-ABCDE 0108 /dev/sdd device { vendor "FTS" product "PRAID.*" } device { vendor "BUFFALO" } }
I get this error:
root@proxmox3:~# lsscsi
-bash: lsscsi: command not found
This suggestion fixed my issue. Thanks!You shouldn't need to wipe the disks using dd - just clean out the MBR & GPT tables, all of the backup GPT copies and any LVM data.
"sgdisk --zap-all <device>" should do it.
After you've done that - or if you used the "dd" wipe - you have to get the system to re-trigger the device info for the disk. If its hot-swappable then pulling it out for a bit and re-plugging it will do. Reboot the host will do it too. Surely there is a less intrusive way but I don't know it.
ps - if you do the DD as shown above then you are doing writing byte-at-a-time IO to the disk. Buffered, of course, but still a lot slower than you really want. It will go quite a bit faster if you use block writes.
"dd ibs=81920 obs=81920 if=/dev/zero of=<device> status=progress"
This version will do block writes 20 disk sectors at a time (assuming 4k blocks - 160 sectors at time for 512 byte disks). This is LOTS faster - and adding the progress status helps you watch it go.
IfYou shouldn't need to wipe the disks using dd - just clean out the MBR & GPT tables, all of the backup GPT copies and any LVM data.
"sgdisk --zap-all <device>" should do it.
After you've done that - or if you used the "dd" wipe - you have to get the system to re-trigger the device info for the disk. If its hot-swappable then pulling it out for a bit and re-plugging it will do. Reboot the host will do it too. Surely there is a less intrusive way but I don't know it.
ps - if you do the DD as shown above then you are doing writing byte-at-a-time IO to the disk. Buffered, of course, but still a lot slower than you really want. It will go quite a bit faster if you use block writes.
"dd ibs=81920 obs=81920 if=/dev/zero of=<device> status=progress"
This version will do block writes 20 disk sectors at a time (assuming 4k blocks - 160 sectors at time for 512 byte disks). This is LOTS faster - and adding the progress status helps you watch it go.
sgdisk --zap-all <device>
wipefs --all --force <device>
Beautiful. Fixed this for me. Thank you!I did not mean delete partition.
I ment go into gdisk(cli) look at disk structure.
It should list 3 option after message that partiotn table of type found.
Choose to create clean gpt.
This should remove anything on the disk and create an new clean gpt table.
You may need to remove and reinsert the disk after, but most of the time it is ready to use as is.
So step one: in host cli, gdisk /dev/sdX
Step 2 display partition table
Step 3 option to create new gpt.
Step 4 w to write all to disk and exit.
Done...