Benjamin Cheng
2011-Jan-20 16:45 UTC
[zfs-discuss] "sbdadm: unknown error" (Solaris 11 Express)
Hi all, I''ve been following the Oracle Solaris ZFS Administration guide here: http://download.oracle.com/docs/cd/E19963-01/821-1448/ftyxh/index.html I am able to create my ZFS volume but am having trouble when I get to the step of creating a LUN using sbdadm, it will inevitably return the "sbdadm: unknown error" message: SAN:~# zfs create -V 128k CaviarBlue/Fraps SAN:~# zfs list NAME USED AVAIL REFER MOUNTPOINT CaviarBlue 1.07T 294G 53.1K /CaviarBlue CaviarBlue/Fraps 384K 294G 23.9K - CaviarBlue/Storage 1.06T 294G 1.06T /CaviarBlue/Storage ... SAN:~# sbdadm create-lu /dev/zvol/rdsk/CaviarBlue/Fraps sbdadm: unknown error Could someone please advise on what I''m doing wrong? -- This message posted from opensolaris.org
Cindy Swearingen
2011-Jan-20 17:25 UTC
[zfs-discuss] "sbdadm: unknown error" (Solaris 11 Express)
My first inclination is 128k is too small for a pool component. You might try something more reasonable, like 1G, if you''re just testing. Thanks, Cindy # zfs create -V 2g sanpool/vol1 # stmfadm create-lu /dev/zvol/rdsk/sanpool/vol1 Logical unit created: 600144F0C49A050000004CC84BE20001 On 01/20/11 09:45, Benjamin Cheng wrote:> Hi all, > > I''ve been following the Oracle Solaris ZFS Administration guide here: > > http://download.oracle.com/docs/cd/E19963-01/821-1448/ftyxh/index.html > > I am able to create my ZFS volume but am having trouble when I get to the step of creating a LUN using sbdadm, it will inevitably return the "sbdadm: unknown error" message: > > SAN:~# zfs create -V 128k CaviarBlue/Fraps > > SAN:~# zfs list > NAME USED AVAIL REFER MOUNTPOINT > CaviarBlue 1.07T 294G 53.1K /CaviarBlue > CaviarBlue/Fraps 384K 294G 23.9K - > CaviarBlue/Storage 1.06T 294G 1.06T /CaviarBlue/Storage > ... > > SAN:~# sbdadm create-lu /dev/zvol/rdsk/CaviarBlue/Fraps > sbdadm: unknown error > > Could someone please advise on what I''m doing wrong?