Switch to DuckDuckGo Search
   February 26, 2018  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | >

Toggle Join/Part | bottom
[00:08:37] *** wiedi <wiedi!~wiedi@ip5b409739.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 252 seconds)
[00:59:04] *** wiedi <wiedi!~wiedi@ip5b409739.dynamic.kabel-deutschland.de> has joined #dilos
[04:04:18] *** wiedi <wiedi!~wiedi@ip5b409739.dynamic.kabel-deutschland.de> has quit IRC (Read error: Connection reset by peer)
[07:57:58] *** tsoome <tsoome!~tsoome@c540-57af-762b-855d-a180-80f3-07d0-2001.dyn.estpak.ee> has quit IRC (Quit: tsoome)
[08:18:45] *** tozhu <tozhu!~Thunderbi@223.85.203.28> has joined #dilos
[08:59:22] *** tozhu <tozhu!~Thunderbi@223.85.203.28> has quit IRC (Remote host closed the connection)
[08:59:39] *** tozhu <tozhu!~Thunderbi@223.85.203.28> has joined #dilos
[09:25:02] *** wiedi <wiedi!~wiedi@91.64.151.57> has joined #dilos
[10:13:50] *** fiddlerwoaroof <fiddlerwoaroof!~fiddlerwo@unaffiliated/fiddlerwoaroof> has quit IRC (Ping timeout: 265 seconds)
[10:57:29] *** fiddlerwoaroof <fiddlerwoaroof!~fiddlerwo@unaffiliated/fiddlerwoaroof> has joined #dilos
[12:48:08] *** tsoome <tsoome!~tsoome@13-113-191-90.dyn.estpak.ee> has joined #dilos
[12:49:54] *** tozhu <tozhu!~Thunderbi@223.85.203.28> has quit IRC (Quit: tozhu)
[13:58:45] *** tsoome <tsoome!~tsoome@13-113-191-90.dyn.estpak.ee> has quit IRC (Ping timeout: 252 seconds)
[15:31:40] *** tsoome <tsoome!~tsoome@13-113-191-90.dyn.estpak.ee> has joined #dilos
[15:35:19] <denk> tsoome: ping
[15:35:26] <tsoome> pong
[15:35:50] <denk> tsoome: I have some questions about disks, you know it all
[15:36:09] <denk> I want to open a raw device in a program
[15:36:30] <denk> tsoome: which device should I use?
[15:36:52] <denk> i.e. /dev/rdsk/cXtXdX? or add p0?
[15:37:51] <tsoome> what that program is supposed to do with that disk?
[15:38:13] <denk> I want to read and write raw sectors
[15:38:46] <tsoome> the p0 and *d0 are *both* providing full disk access, from sector 0 to $, but the d0 device is only created with GPT disk label.
[15:39:03] <tsoome> p0 is there in any case.
[15:39:29] <denk> tsoome: what's about EFI?
[15:39:37] <denk> s0?
[15:39:43] <denk> or s2?
[15:39:43] <tsoome> GPT == EFI label
[15:40:28] <denk> ok, thanks for the answer, you helped me
[15:40:43] <tsoome> *EFI* does not allow overlapping slices
[15:41:34] <tsoome> the s2 is *usually* whole disk (on sparc) or whole solaris2 partition (on x86) for VTOC
[15:41:53] <igork> what about zpool
[15:42:08] <igork> we have EFI label with vdev in zpool
[15:42:42] <tsoome> if you use d0 device, zpool command will put GPT label on it with s0 defined for pool
[15:43:04] <tsoome> or if you use zpool create -B, then you will get s0 for ESP, and s1 for pool
[15:43:07] <igork> but with d0p0 - what will be ?
[15:43:41] <tsoome> you *never* should use p0 for pool
[15:43:59] <tsoome> that will only make things complicated - even if it does work
[15:44:10] <denk> tsoome: today my program failed with d0, open(2) returned me -1 and EBUSY
[15:44:12] <igork> well - if i do iscsi
[15:44:30] <igork> i want provide full raw drive to initiator
[15:44:31] <denk> dd failed too with the same error
[15:46:00] <tsoome> igork: for initiator it *may* be ok. the problem is, what will happen if something will attempt to open that disk and cmlb will provide default (generated) label for it and thats omething will decide to write that label down…
[15:46:19] <igork> yes
[15:46:42] <igork> it was question - how to provide full drive by target to initiator
[15:46:50] <igork> by d0 or d0p0
[15:47:31] <tsoome> if asked this way, then I think p0, as the iscsi client may nuke the GPT.
[15:47:45] <tsoome> however, the safe way is to create partition and share it
[15:48:01] <igork> how ?
[15:48:05] <igork> example?
[15:48:05] <tsoome> you will lose some sectors for partition table, but thats small loss
[15:48:19] <igork> well - if i use zpool
[15:48:51] <tsoome> you can create GPT with s0 starting from 34
[15:49:05] <igork> hm - example?
[15:49:22] <tsoome> ah, you do not know how to create GPT:)
[15:49:28] <igork> yes :)
[15:49:46] <tsoome> format -e, and enter label - then it will ask if you want GPT or SMI
[15:49:55] <igork> ah
[15:50:02] <tsoome> or, fdisk -E and then format
[15:51:34] <igork> EFI = GPT in this context ?
[15:54:13] <tsoome> yes
[15:54:54] <tsoome> GPT = Guid Partition Table, but the specification is really part of the UEFI spec
[15:55:34] <tsoome> and they are pushing to kill bios.
[16:00:43] <igork> thanks
[16:24:40] *** tozhu <tozhu!~Thunderbi@218.89.234.176> has joined #dilos
[17:09:01] *** tozhu <tozhu!~Thunderbi@218.89.234.176> has quit IRC (Ping timeout: 265 seconds)
[21:39:45] *** tsoome <tsoome!~tsoome@13-113-191-90.dyn.estpak.ee> has quit IRC (Quit: tsoome)
[21:43:02] *** psychicist__ <psychicist__!~psychicis@ip127-8-212-87.adsl2.static.versatel.nl> has joined #dilos
[21:55:26] *** tozhu <tozhu!~Thunderbi@218.89.234.176> has joined #dilos
[22:02:19] *** tozhu <tozhu!~Thunderbi@218.89.234.176> has quit IRC (Ping timeout: 260 seconds)
[22:49:20] *** tsoome <tsoome!~tsoome@13-113-191-90.dyn.estpak.ee> has joined #dilos
top

   February 26, 2018  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | >