unable to mount some cofs devices

Help
eadmaster
2011-02-11
2013-05-09
  • eadmaster

    eadmaster - 2011-02-11

    I'm using coLinux stable-20110206-Snapshot.

    My colinux.conf:

    cobd0="Debian-5.0r2-lenny.ext3.2gb"
    cobd1="swap_device"
    cobd2=\Device\Cdrom0
    cobd3=c:\VirtualMachines\linux_home.raw
    cofs0=C:\
    cofs1=D:\
    cofs2=R:\
    

    My /etc/fstab:

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    /dev/cobd0      /               ext3    errors=remount-ro 0       1
    # /dev/cobd1      swap            swap    defaults            0       0
    # /dev/cobd2      /media/cdrom0   udf,iso9660 user,noauto     0       0
    /dev/cobd3      /mnt/home_image ext2    rw,auto,exec,noatime,sync 0 0
    /dev/cofs0      /c              cofs    ro,auto,exec,noatime,sync 0 0
    /dev/cofs1      /d              cofs    ro,auto,exec,noatime,sync 0 0
    /dev/cofs2      /r              cofs    rw,auto,exec,noatime,sync 0 0
    

    Mounting "/dev/cofs1" fails @ bootime with error "fuse_read_super: connection already mounted". Same for "/dev/cofs2".
    Also i've noticed frequent fs corruption of "linux_home.raw" ext2 image.

     
  • eadmaster

    eadmaster - 2011-02-12

    UPDATE: it appears that only the first cofs device is mounted.
    In my case "/dev/cofs0" is mounted to "/r" (very strange)…

     
  • eadmaster

    eadmaster - 2011-02-12

    UPDATE2: finally solved editing /etc/fstab:

    cofs0:/      /c              cofs    ro,auto,exec,noatime,sync   0 0
    cofs1:/      /d              cofs    ro,auto,exec,noatime,sync   0 0
    cofs2:/      /r              cofs    rw,auto,exec,noatime,sync,uid=colinux   0 0
    
     
  • Henry N.

    Henry N. - 2011-02-12

    The right syntax for mount is "cofs0" without "/dev/".

    The ":/" is optional there:

    cofs0  /c  cofs  ro,auto,exec,noatime,sync 0 0
    cofs1  /d  cofs  ro,auto,exec,noatime,sync 0 0
    cofs2  /r  cofs  rw,auto,exec,noatime,sync,uid=colinux
    

    Or simple the cofs number only is also allowed:

    0  /c  cofs  ro,auto,exec,noatime,sync 0 0
    1  /d  cofs  ro,auto,exec,noatime,sync 0 0
    2  /r  cofs  rw,auto,exec,noatime,sync,uid=colinux
    

    "cofs0:/" and "cofs0" and "0" is the same, if no sub-directory is given.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks