Temos um fibre channel configurado e gostaria de me conectar a ele (estou no Ubuntu 12.04 btw).
Eu posso ver os wwpns que foram entregues. Mas eu não sei bem o que fazer daqui. Eu posso fdisk para as unidades / dev, mas uma vez que eu tento criar um sistema de arquivos neles via mkefs, recebo um erro ioctl.
Aqui está o que mostro:
systool -c fc_host -A "port_name" me dá
Class = "fc_host"
Class Device = "host5"
port_name = "0x21000024ff274080"
Device = "host5"
Class Device = "host6"
port_name = "0x21000024ff274081"
Device = "host6"
Class Device = "host7"
port_name = "0x21000024ff27411a"
Device = "host7"
Class Device = "host8"
port_name = "0x21000024ff27411b"
Device = "host8"
Quando eu faço um ls-ltra / dev / mapper, vejo
crw------- 1 root root 10, 236 May 12 14:52 control
lrwxrwxrwx 1 root root 7 May 12 17:37 360060e80042b570000002b5700000402 -> ../dm-2
lrwxrwxrwx 1 root root 7 May 12 17:37 360060e80042b570000002b5700000400p1 -> ../dm-8
lrwxrwxrwx 1 root root 7 May 12 17:37 360060e80042b570000002b5700000400 -> ../dm-5
lrwxrwxrwx 1 root root 7 May 12 17:37 360060e80042b570000002b5700000403 -> ../dm-4
lrwxrwxrwx 1 root root 7 May 12 17:37 360060e80042b570000002b5700000400-part1 -> ../dm-6
lrwxrwxrwx 1 root root 7 May 12 17:37 360060e80042b570000002b5700000404 -> ../dm-1
lrwxrwxrwx 1 root root 7 May 12 17:37 360060e80042b570000002b5700000401 -> ../dm-3
drwxr-xr-x 2 root root 260 May 12 17:37 .
lrwxrwxrwx 1 root root 7 May 12 17:37 360060e80042b570000002b5700000405p1 -> ../dm-9
lrwxrwxrwx 1 root root 7 May 12 17:37 360060e80042b570000002b5700000405 -> ../dm-0
lrwxrwxrwx 1 root root 7 May 12 17:37 360060e80042b570000002b5700000405-part1 -> ../dm-7
ls / sys / class / fc_host me fornece host5, host6, host7 e host8.
lsscsi me mostra meus impulsos:
[0:0:0:0] cd/dvd PLDS DVD-ROM DS-8D3SH HD51 /dev/sr0
[2:0:32:0] enclosu DP BACKPLANE 1.07 -
[2:2:0:0] disk DELL PERC H700 2.10 /dev/sda
[3:0:0:0] disk iDRAC LCDRIVE 0323 /dev/sdb
[4:0:0:0] cd/dvd iDRAC Virtual CD 0323 /dev/sr1
[4:0:0:1] disk iDRAC Virtual Floppy 0323 /dev/sdc
[5:0:0:0] disk HITACHI OPEN-V 5009 /dev/sdd
[5:0:0:1] disk HITACHI OPEN-V 5009 /dev/sdg
[5:0:0:2] disk HITACHI OPEN-V 5009 /dev/sdi
[5:0:0:3] disk HITACHI OPEN-V 5009 /dev/sdk
[5:0:0:4] disk HITACHI OPEN-V 5009 /dev/sdm
[5:0:0:5] disk HITACHI OPEN-V 5009 /dev/sdo
[6:0:1:0] disk HITACHI OPEN-V 5009 /dev/sde
[6:0:1:1] disk HITACHI OPEN-V 5009 /dev/sdf
[6:0:1:2] disk HITACHI OPEN-V 5009 /dev/sdh
[6:0:1:3] disk HITACHI OPEN-V 5009 /dev/sdj
[6:0:1:4] disk HITACHI OPEN-V 5009 /dev/sdl
[6:0:1:5] disk HITACHI OPEN-V 5009 /dev/sdn
[7:0:1:0] disk HITACHI OPEN-V 5009 /dev/sdp
[7:0:1:1] disk HITACHI OPEN-V 5009 /dev/sdq
[7:0:1:2] disk HITACHI OPEN-V 5009 /dev/sdr
[7:0:1:3] disk HITACHI OPEN-V 5009 /dev/sds
[7:0:1:4] disk HITACHI OPEN-V 5009 /dev/sdt
[7:0:1:5] disk HITACHI OPEN-V 5009 /dev/sdu
[8:0:1:0] disk HITACHI OPEN-V 5009 /dev/sdv
[8:0:1:1] disk HITACHI OPEN-V 5009 /dev/sdw
[8:0:1:2] disk HITACHI OPEN-V 5009 /dev/sdx
[8:0:1:3] disk HITACHI OPEN-V 5009 /dev/sdy
[8:0:1:4] disk HITACHI OPEN-V 5009 /dev/sdz
[8:0:1:5] disk HITACHI OPEN-V 5009 /dev/sdaa
Eu posso fdisk para / dev / sdd e criar corretamente uma partição.
Mas quando eu tento algo como mke2fs -t ext4 -m 0 -O dir_index / dev / sdd1, ele me diz "/ dev / sdd1 aparentemente está em uso pelo sistema; não fará um sistema de arquivos aqui!"
Alguma pista?