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

Similar Messages

  • 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

  • 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

  • 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

  • [SOLVED] /dev/root is not a valid block device

    After trying to boot my system after a few days of it remaining off, it fails to boot with:
    Booting the kernel.
    ERROR: resume: hibernation device '/dev/sda9' not found
    mount: /dev/root is not a valid block device
    You are now being dropped into an emergency shell.
    sh: can't access tty; job control turned off.
    [rootfs /]#
    The sda9 error has been around for quite some time, even back when it was working and I've been ignoring it all these days.
    Last edited by SgrA (2013-03-28 18:00:35)

    I did try that. Now after a few suggestions on #archlinux, I'm using LABEL's instead of device names, and SYSLINUX. The scene isn't much different, now it complains that it can't find "LABEL=Arch" instead. Here's the current fstab:
    # <file system> <dir> <type> <options> <dump> <pass>
    LABEL=Boot /boot ext2 defaults 0 1
    UUID=c9e24897-af78-4768-bf67-2302ebf17a2b /mnt/Algenib ext4 defaults 0 1
    LABEL=Arch / ext4 defaults 0 1
    UUID=2cc33548-62ef-4c22-a2c8-13bb5a979273 /mnt/Acrux ext4 defaults 0 1
    UUID=cd53f792-f142-45b2-aa0c-ab314950b53b /mnt/Mimosa ext4 defaults 0 1
    UUID=122606f2-7ef7-4746-a688-806caaacc86f /mnt/Gacrux ext4 defaults,noauto 0 1
    UUID=5b4c6ccb-b90c-488b-aa5d-135a2e98eaf0 swap swap defaults 0 0
    and here's syslinux.cfg:
    # Config file for Syslinux -
    # /boot/syslinux/syslinux.cfg
    # Comboot modules:
    # * menu.c32 - provides a text menu
    # * vesamenu.c32 - provides a graphical menu
    # * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
    # * hdt.c32 - hardware detection tool
    # * reboot.c32 - reboots the system
    # * poweroff.com - shutdown the system
    # To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
    # If /usr and /boot are on the same file system, symlink the files instead
    # of copying them.
    # If you do not use a menu, a 'boot:' prompt will be shown and the system
    # will boot automatically after 5 seconds.
    # Please review the wiki: [url]https://wiki.archlinux.org/index.php/Syslinux[/url]
    # The wiki provides further configuration examples
    DEFAULT arch
    PROMPT 0 # Set to 1 if you always want to display the boot: prompt
    TIMEOUT 50
    # You can create syslinux keymaps with the keytab-lilo tool
    #KBDMAP de.ktl
    # Menu Configuration
    # Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
    UI menu.c32
    #UI vesamenu.c32
    # Refer to [url]http://syslinux.zytor.com/wiki/index.php/Doc/menu[/url]
    MENU TITLE Arch Linux
    #MENU BACKGROUND splash.png
    MENU COLOR border 30;44 #40ffffff #a0000000 std
    MENU COLOR title 1;36;44 #9033ccff #a0000000 std
    MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
    MENU COLOR unsel 37;44 #50ffffff #a0000000 std
    MENU COLOR help 37;40 #c0ffffff #a0000000 std
    MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
    MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
    MENU COLOR msg07 37;40 #90ffffff #a0000000 std
    MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
    # boot sections follow
    # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=LABEL=Arch ro
    INITRD ../initramfs-linux.img
    LABEL archfallback
    MENU LABEL Arch Linux Fallback
    LINUX ../vmlinuz-linux
    APPEND root=LABEL=Arch ro
    INITRD ../initramfs-linux-fallback.img
    LABEL algenib
    MENU LABEL Algenib
    LINUX ../vml-alg
    APPEND root=UUID=c9e24897-af78-4768-bf67-2302ebf17a2b
    INITRD ../ini-alg
    #LABEL windows
    # MENU LABEL Windows
    # COM32 chain.c32
    # APPEND hd0 1
    LABEL hdt
    MENU LABEL HDT (Hardware Detection Tool)
    COM32 hdt.c32
    LABEL reboot
    MENU LABEL Reboot
    COM32 reboot.c32
    LABEL off
    MENU LABEL Power Off
    COMBOOT poweroff.com
    This is what happens:
    http://i.imgur.com/cVh1l1l.jpg
    Last edited by SgrA (2013-03-28 13:20:22)

  • 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.

  • Lost cdrom block device

    hi
    no idea how and when it happens, I have no cd/dvd block device (nor links) that I can use to mount. No entry in dmesg either.
    [root@PLWRX006 ~]# ls /dev/cdrom
    ls: /dev/cdrom: No such file or directory
    [root@PLWRX006 ~]# ls /dev/dvd
    ls: /dev/dvd: No such file or directory
    [root@PLWRX006 ~]# ls /dev/sr0
    ls: /dev/sr0: No such file or directory
    I tried to use:
    cd /dev
    mknod sr0 b 11 0
    chgrp cdrom sr0
    chmod 660 sr0
    ln -s sr0 cdrom
    now I have:
    [root@PLWRX006 dev]# ls -lL cdrom
    brw-rw---- 1 root cdrom 11, 0 May 13 08:03 cdrom
    [root@PLWRX006 dev]# ls -lL sr0
    brw-rw---- 1 root cdrom 11, 0 May 13 08:03 sr0
    but doesn't work:
    [root@PLWRX006 dev]# mount -t iso9660 /dev/cdrom /media/
    mount: /dev/cdrom is not a valid block device
    Can anybody help to restore this block device , maybe via rescue mode?...

    hi
    I found the solution. You were very close to it ;-)
    The machine has external DVD via USB, and it was taken my somebody, when I realized that, I went there, connected it again, and the system initialized the devices.
    Thank you.

  • Getting Error Message - mount.ocfs2: No such device while mounting

    I am trying to mount an ocfs2 file system. The file system seems to have been created fine but I get an error message when I try to mount it. Here's what I get :
    [root@mdcpsdb1 init.d]# ./o2cb status
    Module "configfs": Loaded
    Filesystem "configfs": Mounted
    Module "ocfs2_nodemanager": Loaded
    Module "ocfs2_dlm": Loaded
    Module "ocfs2_dlmfs": Loaded
    Filesystem "ocfs2_dlmfs": Mounted
    Checking cluster ocfs2: Online
    Checking heartbeat: Active
    [root@mdcpsdb1 init.d]# fsck.ocfs2 /dev/sdc1
    Checking OCFS2 filesystem in /dev/sdc1:
    label: oracle_hr
    uuid: f6 23 5e 3b ad bb 49 87 81 a3 cb f0 b7 2a d0 ad
    number of blocks: 24416784
    bytes per block: 4096
    number of clusters: 6104196
    bytes per cluster: 16384
    max slots: 4
    /dev/sdc1 is clean. It will be checked after 20 additional mounts.
    [root@mdcpsdb1 init.d]# mount -t ocfs2 /dev/sdc1 /hr_data
    mount.ocfs2: No such device while mounting /dev/sdc1 on /hr_data
    The same thing happens going through the ocfs2console.
    Thanks,
    David

    Did you get anwer for this error? I got same error. Thanks in advance.

  • User Mode Block Device Driver

    Hi,
    I want to write a block device driver in user mode so that the read and write calls from the FileSystem comes to user mode component than a regular kernel mode driver.
    why i want to do this ... because I want to pass on the data coming to another apps and the data is near real time and large. So, I can't keep the block driver in kernel mode and do transfer of data from kernel mode to user mode.
    Can this be done ... ? I have been looking at various things but nothing comes close. Any hints will be helpful.
    Thanks
    Tarrot .

    Well. The 2 user apps cannot talk directly as User APPs2 only understands block I/O requests as input so it has to have a FS over it which is ext3. User APPs1 is an application that runs over FS and writes to it like windows explorer.
    The Problem is I am not able to find a way to write a user mode block driver. Why I want this to be user mode so that I can interface to Virtual disk below which is a user mode application, i.e. User Apps2.
    I can write a kernel mode block driver there but it would not be efficient as I will have to push it from kernel mode to user mode for userapps2.
    I hope it explains....

  • How we can display two list if not using blocked alv ,not scr painter

    how we can display two list if not using blocked alv ,not scr painter

    1. Once the cell number/service on the 3GS is transfered to the 5, the 3S will become basically an iPod touch until a new sim is in place, correct? We can still use wi-fi and the apps on the phone, and still be able to sync to iTunes, correct? iOS has been upgraded to 6.
    1a. With a new Sim, any issue with losing any data/apps on the phone? I dont' think so.
    1. Yes. without a sim it has no service, but all other features should be useable normally.
    1.a Nope, Data and Apps are independent of the Sim.
    2. Once the 5 is activated on the new carrier, how do I share the apps within iTunes? Is it as easy as using iCloud (which we haven't "activated" yet) and/or plugging both phones into iTunes and transferring between devices (authorizing both)? Photos? There are photos on the 3S that we will need on the 5.
    2. As long as both Phones use the same Apple ID, the applications can be synced to each through iTunes. Also any downloads on one phone should appear in the other. Again as long as both phones are using the same Apple ID.
    3. Reverse order for new apps purchased (understand that not all the iphone 5 apps will work on the 3GS)?
    3. If they can be run on the iPhone3GS they should be synced automatically.
    4. My husband also has a new iPad, any complications there with three devices? To date, he has not "shared" apps between his 3S and the iPad. He does not have iCloud set up, but plugs into his computer to backup and transfer photos. 
    4. If all 3 Devices share the same Apple ID all should be synced. 
    As a word of warning, if all 3 devices use the same Apple ID, messages recieved using iMessage will appear on all 3 devices.
    And Conctacts may get overwritten if synced to iCloud (thogh you say he doesn't have one), or merged together.

  • 13" MacBook Pro 2012 Not Recognising USB Devices on OSX 10.9.1

    Hello,
    Since updating to OSX 10.9.1, one of the USB ports of my MacBook is not always recognising devices (external HDDs and Logitech Unifying Receiver), often when the other port is used.
    It is the port on the right. First I noticed this problem with the Logitech Unifying Receiver, I thought perhaps it is because of the driver, but today I had to plug in my external HDD several times to get recognised and mounted. When not recognised, the Logitech Unifying receiver is not even listed in System Information, and HDDs are not listed in Disk Utility.
    I had no issue with using both USB ports prior to OSX 10.9.1.
    Anyone else is facing this problem?
    Thank you.

    Hi AMDeeb,
    Thanks for visiting Apple Support Communities.
    If USB devices are not being recognized reliably by your MacBook Pro, start with resetting the NVRAM:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R.
    You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    You can find more information about this troubleshooting step here:
    About NVRAM and PRAM
    http://support.apple.com/kb/HT1379
    Best,
    Jeremy

  • I wrote a filter driver over block device.

    HI,
    I wrote a virutal volume driver over block device , simlar with LVM,
    I call it "vraid" ,I can create PV,VG,LV,it's working well.
    However I cannot acess the sector over 2G , I can use the system
    command "newfs -s XXXX /dev/vlun/rdsk/vlun0" to create a 2G filesystem.
    If I use newfs /dev/vlun/rdsk/vlun0 to create the file system in the whole LV size,I found
    If LV>2G ,the sector beyond 2G will not be located correctly. output as below.
    seek\:XXXXXX Invalid argument.
    So I use the system c ommand "truss" to trace the command mkfs (newfs invoke mkfs finally) ,
    I found the llseek() is the matter,
    When llseek() is invoked, I trace d all system callings,I found if I use llseek() to
    locate some sectors, however there is no any callings ocurred in my drvier besides the
    calling open() and close()/
    I wonder to know why I always failed to acess the sector over 2G .
    thanks and happies.
    I'm sorry my poor English/
    I'm in China. and I'm a Chinese girl.
    Ms. Anda

    My makefile is the following.:
    # CC = /opt/SUNWspro/bin/cc
    CC = /usr/local/bin/gcc
    LD = /usr/ucb/bin/ld
    # 'uname -p' command
    INST = i386
    INCL = -I . -I $(TOPDIR)/include
    #gcc
    CFLAGS = -O $(INCL) -D_KERNEL -DOS_SOLARIS -Wall
    TOPDIR = ../..
    BUILD = vraid
    OBJS = _vraid.o        \
    raid0.o \
    raid1.o \
    multicopy.o \
    snapshot.o \
    queue.o \
    hash.o \
    rand.o
    $(BUILD) vraid_driver_setup.bin:$(OBJS)
    $(LD) -r -o $(BUILD) $(OBJS)
    sh -c ./generate_bin_install.sh
    hash.o:hash.c
    $(CC) $(CFLAGS) -o hash.o -c hash.c
    _vraid.o:vraid.c
    $(CC) $(CFLAGS) -o _vraid.o -c vraid.c
    raid0.o:raid0.c
    $(CC) $(CFLAGS) -o raid0.o -c raid0.c
    raid1.o:raid1.c
    multicopy.o:multicopy.c
    $(CC) $(CFLAGS) -o multicopy.o -c multicopy.c
    queue.o:queue.c
    $(CC) $(CFLAGS) -o queue.o -c queue.c
    snapshot.o:snapshot.c
    $(CC) $(CFLAGS) -o snapshot.o -c snapshot.c
    rand.o:rand.c
    $(CC) $(CFLAGS) -o rand.o -c rand.c
    clean:
    rm -rf $(OBJS) $(BUILD) vraid_driver_setup.bin

  • Block Device Mapping

    I'm been given a driver that is 90% complete.
    It is 'block' device that can support many partitions. It is identified as a 'scsi' device even though it does not remotely look like a scsi device.
    Currently, the single instance of the device controls upto 8 partitions.
    When the minor device is created ddi_create_minor_node (that maps to a partition) with the DDI_NT_BLOCK_CHAN it creates a device with the names:
    /dev/dsk/c2t2d190684ts0
    /dev/dsk/c2t2d190684ts7
    if the node is created with DDI_NT_BLOCK then it creates a device with the
    names:
    /dev/dsk/c2d2s0
    /dev/dsk/c2d2s7
    The device appears under the pci2f,4000/scsi device node, with scsi as part of the naming.
    My questions are:
    1) does a block device have to be known as a scsi device?
    2) if does what additional properties must be supported. Are properties to be associated with the minor device numbers or instance of the device?

    Well, I guess this may be thw wrong place to ask, as people in here tend to have already issues with their OVM installations and they probably don't know anything about OpenStack at all…
    …I guess that's why you don't get any answer - wouldn't make sense for anyone to just reply, that they don't know OpenStack, would it?

  • No block device for printing

    Hi......
    I have installed arch linux 0.6 with cups and I not found the block device on /dev responsible for printing (like lp0 or devices on /dev/printers folder - this folder doesn't exist in my system). I already loaded the module  parport_pc in the rc.conf. It doesn't work. I just created too alias in the modprobe.conf referencing this module with /dev/lp0 block device. It doesn't work too. My printer is epson C43SX and when printer is turn on, cups recognizes epson installed on the   /dev/unknown-parallel0, but doesn't print anything. 
    Any suggestions?
    Thank You for everyone that help me....
    enigmabr.
    PS: excuse me for my poor english[/code]

    I have a similar difficulty but I am a total newbie. I have discovered that I have /dev/usb/lp0. So far, I have found my cups server is not being recognised or is not accesible to root.
    Thought I would just suggest though that yours might be a usb printer, and if so that is where you look. Also I think you have to have the printer switched on.

Maybe you are looking for

  • Error -50 - Syncing iPhone photos with aperture

    Hi, The facts: OS - 10.7 Lion iTunes - 10.4 iOS - 4.3.5 So when I updated to Lion and iTunes 10.4 my photos from Aperture will no longer sync with my phone.  I get the error (-50), which to my understanding is a time out error.  Now when I sync with

  • Identifying overlapping time slots (clashes) in a oracle timetabling system

    Good Morning I have a timetableing table that has 3 fields, student number(number), start time(date), end time(date) where each row which represents an exam event for a student. I need to write a query that identifies records for students where there

  • Accessing IBM DB2 database

    I was wondering if someone can assist with the following.  I'd like to start writing queries in SQL and utilize Management Studio. Does anyone know how to connect to IBM DB2 database? I've been able to connect to this via Crystal Reports, WINSQL, MS

  • Itunes is getting too big for my c: drive...

    Hi guys, I have a considerably large music folder on my PC which is currently in my public music section on my c: drive I could do with moving it over to my d: partition which is practically empty but i don't know how to make it so that the music can

  • Sound blaster problems

    Ok.. i just got myself a MSI K8N Sli Platinum motherboard. I've installed windows cp prof. and  the audio drivers and everything went good, but i don't have SOUND!! No sound at all...no sound in winamp, no sound in media player no sound...:(( What;s