SOLARIS 10 with iSCSI Problem "not a block device"

Hi Guys.
I almost reached it to build an iscsi connection with a Netgear readynas 2100.
But I have still one Point which makes me a Problem!!!
Everything works, except mounting the device....
It always Sais me: "not a block device"
At the bottom you can see an output of the whole configuration that I did.
Has anybody maybe a tip for me? Thanks in advance, Mischa
login as: root
Using keyboard-interactive authentication.
Password:
Last login: Fri Dec 18 01:18:30 2009 from pnm
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
Sourcing //.profile-EIS.....
root@sun001 # iscsiadm list discovery
Discovery:
Static: disabled
Send Targets: disabled
iSNS: disabled
root@sun001 # iscsiadm modify discovery -s enable
root@sun001 # iscsiadm modify discovery -t enable
root@sun001 # iscsiadm modify discovery -i enable
root@sun001 # devfsadm
root@sun001 # devfsadm -C
root@sun001 # ping 172.16.251.215
172.16.251.215 is alive
root@sun001 # iscsiadm list discovery
Discovery:
Static: enabled
Send Targets: enabled
iSNS: enabled
root@sun001 # iscsiadm add discovery-address 172.16.251.215
root@sun001 # iscsiadm list discovery-address
Discovery Address: 172.16.251.215:3260
root@sun001 # iscsiadm list discovery-address -v
Discovery Address: 172.16.251.215:3260
Target name: iqn.2009-12.Z-NAS-B0204:znaszim
Target address: 172.16.251.215:3260, 1
root@sun001 # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t60014052E198270014ED001000000000d0 <DEFAULT cyl 65267 alt 2 hd 255 sec 63> znaszim1
/scsi_vhci/disk@g60014052e198270014ed001000000000
1. c3t0d0 <DEFAULT cyl 17747 alt 2 hd 255 sec 63>
/pci@7b,0/pci1022,7458@11/pci1000,3060@2/sd@0,0
2. c3t2d0 <DEFAULT cyl 17747 alt 2 hd 255 sec 63>
/pci@7b,0/pci1022,7458@11/pci1000,3060@2/sd@2,0
Specify disk (enter its number): ^C
root@sun001 # dev
devattr devfree devfsadm devinfo devlinks devnm devreserv
root@sun001 # dev
devattr devfree devfsadm devinfo devlinks devnm devreserv
root@sun001 # dev
devattr devfree devfsadm devinfo devlinks devnm devreserv
root@sun001 # devfsadm -c iscsi
root@sun001 # iscsiadm list target -S
Target: iqn.2009-12.Z-NAS-B0204:znaszim
Alias: LIO Target
TPGT: 1
ISID: 4000002a0000
Connections: 1
LUN: 0
Vendor: LIO-ORG
Product: FILEIO
OS Device Name: /dev/rdsk/c1t60014052E198270014ED001000000000d0s2
root@sun001 # mkdir /export/iscsi
root@sun001 # mount /dev/rdsk/c1t60014052E198270014ED001000000000d0s2 /export/iscsi/
mount: /dev/rdsk/c1t60014052E198270014ED001000000000d0s2 not a block device
root@sun001 #
-----------------------------------------------------------------

Ok. Sorry i have to explaine it in an other way.
The Storage Device is a Netgear Ready NAS 2100.
Netgear Ready NAS with a Linux os.
The OS Supports different Protocols like: CIFS / FTP / HTTP/ iSCSI etc...
Now im trying to use an other protocoll (cifs) to store the data on the Netgear NAS.
i found smbclient and was able to open a connection to the NAS.
root@sun001 # /usr/sfw/bin/smbclient //172.20.0.51/video_net -U usrvideo
Password:
Domain=[Z-NAS-A0111] OS=[Unix] Server=[Samba 3.4.5]
smb: \> ls
. D 0 Tue Feb 23 11:12:04 2010
.. D 0 Thu Feb 18 10:38:52 2010
172.22.1.58.lnk A 747 Fri Feb 19 19:18:37 2010
172.22.1.55.lnk A 747 Fri Feb 19 18:41:07 2010
65535 blocks of size 33553920. 65535 blocks available
smb: \>
Is there a way to mount the smb connection when the server starts up?
I have to find a way to attach the NAS like a local folder...
And that is why i choose iSCSI before..
Regards
mischa
Edited by: mischu on Feb 26, 2010 2:34 AM

Similar Messages

  • Lucreate fails with: Root slice device ... for BE ... is not a block device

    Hi,
    I'm running lucreate on a Sol10u7 x86 system as I wanted to get it to u8 level. I installed:
    SUNWlucfg
    SUNWlur
    SUNWluu
    from u8 and then a patch: 121431-58
    System is not zoned and it is on ZFS with following pools:
    pool: rpool
    state: ONLINE
    scrub: none requested
    config:
    NAME STATE READ WRITE CKSUM
    rpool ONLINE 0 0 0
    c1t0d0s0 ONLINE 0 0 0
    errors: No known data errors
    pool: spool
    state: ONLINE
    scrub: none requested
    config:
    NAME STATE READ WRITE CKSUM
    spool ONLINE 0 0 0
    c0t0d0 ONLINE 0 0 0
    This is what happens:
    Creating Alternative Boot Environment..
    lucreate -n s10x_u8
    Checking GRUB menu...
    Analyzing system configuration.
    No name for current boot environment.
    INFORMATION: The current boot environment is not named - assigning name <s10x_u7wos_08>.
    Current boot environment is named <s10x_u7wos_08>.
    Creating initial configuration for primary boot environment <s10x_u7wos_08>.
    The device </dev/dsk/c1t0d0s0> is not a root device for any boot environment; cannot get BE ID.
    PBE configuration successful: PBE name <s10x_u7wos_08> PBE Boot Device </dev/dsk/c1t0d0s0>.
    Comparing source boot environment <s10x_u7wos_08> file systems with the
    file system(s) you specified for the new boot environment. Determining
    which file systems should be in the new boot environment.
    Updating boot environment description database on all BEs.
    Updating system configuration files.
    Creating configuration for boot environment <s10x_u8>.
    Source boot environment is <s10x_u7wos_08>.
    Creating boot environment <s10x_u8>.
    Cloning file systems from boot environment <s10x_u7wos_08> to create boot environment <s10x_u8>.
    Creating snapshot for <rpool/ROOT/s10x_u7wos_08> on <rpool/ROOT/s10x_u7wos_08@s10x_u8>.
    Creating clone for <rpool/ROOT/s10x_u7wos_08@s10x_u8> on <rpool/ROOT/s10x_u8>.
    Setting canmount=noauto for </> in zone <global> on <rpool/ROOT/s10x_u8>.
    Creating snapshot for <rpool/ROOT/s10x_u7wos_08/var> on <rpool/ROOT/s10x_u7wos_08/var@s10x_u8>.
    Creating clone for <rpool/ROOT/s10x_u7wos_08/var@s10x_u8> on <rpool/ROOT/s10x_u8/var>.
    Setting canmount=noauto for </var> in zone <global> on <rpool/ROOT/s10x_u8/var>.
    ERROR: Root slice device </dev/dsk/c1t0d0s0> for BE <s10x_u8> is not a block device: .
    ERROR: Cannot make file systems for boot environment <s10x_u8>.
    Please help,
    Cheers,
    Tom

    devfsadm fixed the issue,

  • Can't have ASM mark a NFS file as an ASM disk : -is not a block device

    Hello,
    I’m trying to experiment with ASM for learning purpose. Because I don’t have access to a SAN, I am trying to use NFS files but I can’t manage to have ASM mark those files as ASM disks.
    [root@localhost /]# /etc/init.d/oracleasm createdisk ASM_DISK_1 /mnt/asm_dsks/dg1/disk1
    Marking disk "ASM_DISK_1" as an ASM disk: [FAILED]
    The oracleasm log says: File "/mnt/asm_dsks/dg1/disk1" is not a block device
    OK, more context now:
    I am trying to install ASM on a RHEL5 virtual machine (on vmware).
    [root@localhost /]# uname -rm
    2.6.18-8.el5 x86_64
    I followed this document:
    http://www.oracle.com/technology/pub/articles/smiley-11gr1-install.html until I got stuck at the following command:
    /etc/init.d/oracleasm createdisk ...
    Now, the NFS filesystem comes from a Solaris 10 system (the only one that's available) running on a physical sun box (this one is not a virtual system).
    I have tried many combinations. I tried creating the files on the linux VM, using dd. As root, as oracle. I tried creating them on the Solaris side, using mkfile... no matter what I try, I always get the same issue.
    I tried to follow this document: Creating Files on a NAS Device for Use with ASM (http://download.oracle.com/docs/html/B10811_05/app_nas.htm#BCFHCIEC)
    But nothing seems to work.
    Any idea, recommendations?
    Thanks,
    Laurent.

    Hi buddy,
    I guess the metalink note 731775.1 should help You.
    In fact the procedure is:
    - Create the disk devices on your NFS directory (using dd)
    - Adjuste the permissions over those files (in this case, oracle:dba)
    - Adjust the ASM_DISKSTRING at the ASM instance and setting the NFS directory in the discovery path
    - Verify if they are available at v$asm_disk view
    - Create the diskgroup using the the NFS disks that You have created.
    Hope it helps,
    Cerreia

  • File is not a BLOCK device

    Hi,
    Trying to configure ASM on this device and getting the error:
    eating /dev/oracleasm mount point: /dev/oracleasm
    Loading module "oracleasm": oracleasm
    Configuring "oracleasm" to use device physical block size
    Mounting ASMlib driver filesystem: /dev/oracleasm
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    File "/oracle/asm/disks/nfsdisk1" is not a block device
    File "/oracle/asm/disks/nfsdisk1" is not a block device
    File "/oracle/asm/disks/nfsdisk1" is not a block device
    Cleaning any stale ASM disks...
    Unmounting ASMlib driver filesystem: /dev/oracleasm
    Unloading module "oracleasm": oracleasm
    Loading module "oracleasm": oracleasm
    Configuring "oracleasm" to use device physical block size
    Mounting ASMlib driver filesystem: /dev/oracleasm
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    File "/oracle/asm/disks/nfsdisk1" is not a block device
    What has been done:
    dd if=/dev/zero of=/oracle/asm/disks/nfsdisk1 bs=8192 count=100000
    100000+0 records in
    100000+0 records out
    819200000 bytes (819 MB) copied, 90.3162 s, 9.1 MB/s
    also:
    /oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver.  The following questions will determine whether the driver is
    loaded on boot and what permissions it will have.  The current values
    will be shown in brackets ('[]').  Hitting <ENTER> without typing an
    answer will keep that current value.  Ctrl-C will abort.
    Default user to own the driver interface [oracle]:
    Default group to own the driver interface [dba]:
    Start Oracle ASM library driver on boot (y/n) [y]:
    Scan for Oracle ASM disks on boot (y/n) [y]:
    Writing Oracle ASM library driver configuration: done
    Initializing the Oracle ASMLib driver:                     [  OK  ]
    Scanning the system for Oracle ASMLib disks:               [  OK  ]
    not sure what else to do..
    thanks

    Hi,
    To create Oracle ASM disks, there are some steps to do:
    - Have raw Disks, and you don't have then you can create a pseudo disks with the command dd us yours.
    - Install ASMLib
    - Use the /etc/init.d/oracleasm to configure, create ASM disks
    The command dd creates a pseudo-block disk, and this a solution: Create virtual RAW disks for Oracle ASM on Linux with single Hard Drive
    # dd if=/dev/zero of=/asm/disk4 bs=1M count=2000
    # losetup /dev/loop4 /asm/disk4
    # /etc/init.d/oracleasm createdisk ASM4 /dev/loop4
    After the creation, you should scan your ASM disks: Wadhah DAOUEHI - Creation of ASM disks on Oracle Linux using ASMLib
    # /etc/init.d/oracleasm scandisks
    # /etc/init.d/oracleasm listdisks
    Best regards

  • Mount: not a block device

    i have created a solaris lun and trying to view the same from my solaris console. i want to perform i/o operations on the lun; how do i mount it? 'coz mount command gives "not a block device" error.

    It depends on the specific driver, but you usually want to mount the 'dsk' device and not the 'rdsk' device.
    Darren

  • After upgrading to IOS 8 on my iPad I constantly get a temperature warning despite the fact it is cool. Did not happen with IOS 7. I have restored the iPad to factory settings with the problem not resolved.

    After upgrading to IOS 8 on my iPad I constantly get a temperature warning despite the fact it is cool. Did not happen with IOS 7. I have restored the iPad to factory settings with the problem not resolved.

    Hey, I've got the same problem. Did you find any help or solution by now?

  • Problems with IDE2 & 3 not detecting IDE device - going to RAID bios

    hi
    Ok well after many painstaking hours I finally managed to get the mobo(915G combo) up and running but encounter this problem.
    IDE1 (third master) has hard drive on, this loads up ok
    But if I connect my dvd rom and dvd writer as master & slave into either ide 2 or 3, I get the RAID bios utility load up and then only sometimes it lets me press the tab key, and all i can do is go in this circle.
    If I unplug the cable and then attach a drive to my HDD as a slave this works fine.  The mobo bios is currently set for optimized defaults.  I know I could keep the drive as a slave on IDE 1 with the HDD but im going to be installing another HDD so will be using this as a slave, so that both HDD's are on one IDE and both drives are on a different IDE.
    Can anyone help to try and resolve this?
    Thanks

    first off i would just like to say thanks for you help, everything is JUST ABOUT working!!
    It does seem strange the instruction booklet informs you to put the primary boot device into IDE1 (blue socket) yet this doesnt qwork and you have to put the optical devices into this socket.  Everything is now being recognised(within the bios) but I have now updated to XP with SP1 and the only problem i now face is that when the pc loads up it detects both ide HDD within the raid controllers BUT once into windows I can only see the c:/ not the secondary HDD.  I dfid try to add this as a slave to the primary master HDD but got error on startup.  I have since installed onto the 3rd IDE/RAID as a master and it is detected fine.
    Within device manager in XP it shows as a device but i am unable to format the drive or save/map anything to it
    Any further ideas?
    Cheers
    Paul

  • Does anyone have problems with sending iMessages not depending on devices the last days, too?

    We have 4 iPhone 4 iOS 5.1.1 and a MBP Early 2011 OS X 10.8, and there are problems sending iMessages on any of these devices the last days.
    Just the red ! and "Not send" appears. Sometimes the messages is send regardless, but mostly not!

    Hello
    I agree with the user above. I think you have to change the power plan. If you surf in the Internet or write something in Word just switch to Power Saver power plan. This power plan will save a lot of battery power and also reduce the display brightness to enhance the battery life.
    Furthermore here is an interesting article about the power management features of Windows:
    http://aps2.toshiba-tro.de/kb0/HTD84026Q0000R01.htm

  • I wish to speak to adviser who can help with my problem , not start a discussion about it

    I wish to speak to an advisor about my problem nor start a discussion about it

    If it is to do with your PSE9 error though be aware you will probably need to pay for support (both installation support and complimentary incidents for PSE are current version only), defects covered only for current (v12) and previous (v11) versions. :
    Unlimited installation support for the current version of the software product, including trials.
    Unlimited installation support for the previous version of the software product. (Not available for Adobe Photoshop Elements and Adobe Premiere Elements.)
    For two versions back, installation support is provided for 90 days after the current version has been released. For example, installation support for CS4 is available up to 90 days after the release of CS6. (Not available for Adobe Photoshop Elements and Adobe Premiere Elements.)
    How-to and product usage support for the current shipping version. This type of support is also provided for the previous version for 90 days after a new full version has been released.
    Product defect support for the current and previous version of the software product, including trials.
    A limited number of complimentary technical support incidents. Technical support incidents cover basic "how-to" questions and troubleshooting unexpected behavior related to documented features. Your complimentary incidents are available for 90 days after you contact support for the first time:
    <snipped> ...
    Photoshop Elements and Adobe Premiere Elements: two complimentary  incidents, current version only
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Need help with Itunes problem not being able to put custom made ringtone on iphone 4s.

    My iphone 4s is running iOS7. My windows laptop is running the latest version of itunes, i follow instructions everywhere to get the ringtone i made onto my cellphone and i get stuck where it says to go to the apps tab and then scroll down till you see the apps you have and choose the app that you made the ringtone with. Well when i select apps it just goes to the app store, it doesn't do anything else. How in the world do i get that to come up so i can move the ringtone from the app to my phone??? please help!

    Although WAV files have the same audio coding as an audio CD, a disc full of WAV files does not act like an audio CD; it lacks the indexing and ToC needed in order for a "regular" CD player to play it. As Diane notes, put your WAV files in an iTunes playlist and burn it as an *audio CD.*

  • The latest iTunes update will not show my devices.

    I have reinstalled the MTP USB driver and also restarted the Apple Mobile Device Service, but still it does not show in the Device Manager under Universal Serial Bus Controllers. What else can I do?

    Hey there Falconjet5,
    I see that you are having an issue with your iTunes not recognizing your device on your Windows computer. Here is an article with some troubleshooting steps for you that will help you address this issue:
    iPhone, iPad, or iPod not recognized in iTunes for Windows - Apple Support
    https://support.apple.com/en-us/HT204095
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • My iphone is blocked and I am being told to pluig it in to itunes but the itunes it was set up with is not recognizing the device - can anyone help?

    My iphone is blocked and I am being told to plug it in to itunes but the itunes it was set up with is not recognizing the device - can anyone help? 

    I also live in the United States so redownloading shouldn't be a problem.

  • What a pain -on a mac-never had aproblem-loaded a new shuffle with music -will not let me sync itunes store bought songs-will not let me authorize the computer. I have a ipod as well. Is this a block when loading a second device? OR?

    What a pain -on a mac- never had aproblem- loaded a new shuffle with music - will not let me sync itunes store bought songs- will not let me authorize the computer. I have a ipod as well. Is this a block when loading a second device? OR?

    In iTunes, do Store->View my AppleID
    Click "Deuthorize ALL"
    Then, on any computers you still have, do Store->Authorize this computer.  If there are less than 5, you will have no problem.
    You can only do "deauthorize all" once a year, so in the future, if you ever throw a computer away, remember do to "Store->Deauthorize this computer" first.

  • Hi, I have a problem with my ipod touch: I can not activate my ipod with my Apple ID, it tells me that my account can not activate this device, but my ID apple is OK and the ipod is mine, I have my ballot, HELP PLEASE

    Hi ...
    I have a problem with my ipod touch:
    I can not activate my ipod with my Apple ID, it tells me that my account can not activate this device, but my apple ID is OK.
    The proposed me as ipod help entering previous credentials, but the ipod is mine from the beginning, in fact I have my ballot, not bought down to another user.
    Actually I do not know how to activate it in Chile were unable Store MacOnline solve my problem, it is for this reason that I am writing to see if someone can help me.
    PLEAAASEEE
    Thank you.
    Sebastian

    Thanks for your answer.
    actually, my ipod will not let me activate it with apple id, this happened when the new iOS acutalizó understand that has more security, but do not know what to do.

  • Hi i have an ipad mini and i have not used it for 2 month or more. Today i have tried to use it i came across with a problem. my Ipad is blocked and it asks me to wait 23,401,418 :) what should i do need your help. thanks

    hi i have an ipad mini and i have not used it for 2 month or more. Today i have tried to use it i came across with a problem. my Ipad is blocked and it asks me to wait 23,401,418 what should i do need your help. thanks 

    Have you charged ipad Try a Reboot press & hold power button & menu button hold both down until you see Apple Logo You may need to do this more than once. Bsydd uk

Maybe you are looking for

  • Delete blob column in source and rename schema using rule

    Hi I have blob column in source table, which i am deleting while capturing through rule based tranformation and also renaming the schema through the same rule. SET SERVEROUTPUT ON DECLARE v_dml_rule VARCHAR2(80); v_ddl_rule VARCHAR2(80); BEGIN DBMS_S

  • Ipad Numbers apps unsuccessfully importing Microsoft Excel 2007 spreadsheet

    Here are what I did. I first sent a Microsoft Excel 2007 spreadsheet (the format is xlsx) to my email. And then I opened it via Numbers in iPad Mini. The Numbers was importing the Microsoft Excel 2007 spreadsheet. It took about 2-3 minutes importing

  • "Illegal UTF8 string in constant pool"

    I'm running a jsp application on JRun 3.1 with an Appache web server. Every once in while I get this error when trying to access a jsp. "Illegal UTF8 string in constant pool". If I hit refresh or reload the page loads fine. It appears to be random an

  • Sorting xml document with xsl

    How can I sort below xml on empNo using xsl, I want an output to be in xml format. <employeeList> <employee empNo=1000> <Info > <fname></fname> <lname></lname> </Info> </employee> <employee empNo=1001> <Info > <fname></fname> <lname></lname> </Info>

  • Created a new planning application ..while loggin in giving error as :.....

    Created a new planning application with Admin id ..while loggin in giving error as :..... Unable to obtain a connection to Hyperion Essbase. If this problem persists, please contact your administrator Steps i followed : 1. created schema 2.created DS