linux ubuntu mount success

75 篇文章 0 订阅
72 篇文章 0 订阅


wangshuai@wangshuai-virtual-machine:~$ sudo mount -t cifs -o username=Administrator,password=411023 //192.168.1.100/share /home/wangshuai/win7_F



errors:


Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=, syncio.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information:  http://ntfs-3g.org
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t ntfs-3g -o username=Administraator,password=411023 //192.168.1.100//share /home/wangshuai/win7_F
ntfs-3g: Failed to access volume '//192.168.1.100//share': No such file or directory

ntfs-3g 2010.8.8 external FUSE 28 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=, syncio.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information:  http://ntfs-3g.org
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t -cifx -o username=Administraator,password=411023 //192.168.1.100//share /home/wangshuai/win7_F
mount: unknown filesystem type '-cifx'
wangshuai@wangshuai-virtual-machine:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/wangshuai/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=wangshuai)
/dev/sr0 on /media/Ubuntu 10.10 i386 type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500)
wangshuai@wangshuai-virtual-machine:~$ mount -- help
mount: can't find help in /etc/fstab or /etc/mtab
wangshuai@wangshuai-virtual-machine:~$ mount --help
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t -smbfs -o username=Administraator,password=411023 //192.168.1.100//share /home/wangshuai/win7_F
mount: unknown filesystem type '-smbfs'
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t smbfs -o username=Administraator,password=411023 //192.168.1.100//share /home/wangshuai/win7_F
mount: wrong fs type, bad option, bad superblock on //192.168.1.100//share,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

wangshuai@wangshuai-virtual-machine:~$ sudo mount -t smbntfs -o username=Administraator,password=411023 //192.168.1.100//share /home/wangshuai/win7_F
mount: unknown filesystem type 'smbntfs'
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t nfs -o username=Administraator,password=411023 //192.168.1.100//share /home/wangshuai/win7_F
mount: wrong fs type, bad option, bad superblock on //192.168.1.100//share,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

wangshuai@wangshuai-virtual-machine:~$ mount.ntf
No command 'mount.ntf' found, did you mean:
Command 'mount.ntfs' from package 'ntfs-3g' (main)
mount.ntf: command not found
wangshuai@wangshuai-virtual-machine:~$ mount.nfs
The program 'mount.nfs' is currently not installed.  You can install it by typing:
sudo apt-get install nfs-common
wangshuai@wangshuai-virtual-machine:~$ sudo apt-get install nfs-common
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package nfs-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'nfs-common' has no installation candidate
wangshuai@wangshuai-virtual-machine:~$ sudo apt-get install nfs
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package nfs
wangshuai@wangshuai-virtual-machine:~$ sudo mount -F nfs -o username=Administraator,password=411023 //192.168.1.100//share /home/wangshuai/win7_F
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t nfs-3g -o username=Administraator,password=411023 //192.168.1.100//share /home/wangshuai/win7_F
mount: unknown filesystem type 'nfs-3g'
wangshuai@wangshuai-virtual-machine:~$ wget
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
wangshuai@wangshuai-virtual-machine:~$ wget http://www.ntfs-3g.org/ntfs-3g-1.11220.tgz
--2011-04-05 21:01:54--  http://www.ntfs-3g.org/ntfs-3g-1.11220.tgz
Resolving www.ntfs-3g.org... 217.112.248.228
Connecting to www.ntfs-3g.org|217.112.248.228|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-04-05 21:01:56 ERROR 404: Not Found.

wangshuai@wangshuai-virtual-machine:~$ apt-get install ntfs-3g
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
wangshuai@wangshuai-virtual-machine:~$ sudo apt-get install ntfs-3g
Reading package lists... Done
Building dependency tree      
Reading state information... Done
ntfs-3g is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t ntfs-3g -o username=Administraator,password=411023 //192.168.1.100//share /home/wangshuai/win7_F
ntfs-3g: Failed to access volume '//192.168.1.100//share': No such file or directory

ntfs-3g 2010.8.8 external FUSE 28 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=, syncio.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information:  http://ntfs-3g.org
wangshuai@wangshuai-virtual-machine:~$ sudo ntfs-3g -o username=Administraator,password=411023 //192.168.1.100//share /home/wangshuai/win7_F
ntfs-3g: Failed to access volume '//192.168.1.100//share': No such file or directory

ntfs-3g 2010.8.8 external FUSE 28 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=, syncio.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information:  http://ntfs-3g.org
wangshuai@wangshuai-virtual-machine:~$ sudo ntfs-3g -o username=Administraator,password=411023 //192.168.1.100/share /home/wangshuai/win7_F
ntfs-3g: Failed to access volume '//192.168.1.100/share': No such file or directory

ntfs-3g 2010.8.8 external FUSE 28 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=, syncio.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information:  http://ntfs-3g.org
wangshuai@wangshuai-virtual-machine:~$ sudo ntfs-3g -o username=Administraator,password=411023 192.168.1.100:/share /home/wangshuai/win7_F
ntfs-3g: Failed to access volume '192.168.1.100:/share': No such file or directory

ntfs-3g 2010.8.8 external FUSE 28 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), remove_hiberfile, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=, syncio.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information:  http://ntfs-3g.org
wangshuai@wangshuai-virtual-machine:~$ sudo smbmount -t  ntfs-3g -o username=Administraator,password=411023 //192.168.1.100/share /home/wangshuai/win7_F
sudo: smbmount: command not found
wangshuai@wangshuai-virtual-machine:~$ smbmount
The program 'smbmount' is currently not installed.  You can install it by typing:
sudo apt-get install smbfs
wangshuai@wangshuai-virtual-machine:~$ smbfs
smbfs: command not found
wangshuai@wangshuai-virtual-machine:~$ sudo apt-get install smbfs
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package smbfs
wangshuai@wangshuai-virtual-machine:~$ smbmount
The program 'smbmount' is currently not installed.  You can install it by typing:
sudo apt-get install smbfs
wangshuai@wangshuai-virtual-machine:~$ smbmount
The program 'smbmount' is currently not installed.  You can install it by typing:
sudo apt-get install smbfs
wangshuai@wangshuai-virtual-machine:~$ sudo apt-get install smbfs
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package smbfs
wangshuai@wangshuai-virtual-machine:~$ smbmount
The program 'smbmount' is currently not installed.  You can install it by typing:
sudo apt-get install smbfs
wangshuai@wangshuai-virtual-machine:~$ sudo apt-get samba
E: Invalid operation samba
wangshuai@wangshuai-virtual-machine:~$ sudo apt-get install samba
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package samba is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  samba-common-bin smbclient samba-common

E: Package 'samba' has no installation candidate
wangshuai@wangshuai-virtual-machine:~$ sudo apt-get install samba-common
Reading package lists... Done
Building dependency tree      
Reading state information... Done
samba-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
wangshuai@wangshuai-virtual-machine:~$ sudo apt-get install samba-common-bin
Reading package lists... Done
Building dependency tree      
Reading state information... Done
samba-common-bin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
wangshuai@wangshuai-virtual-machine:~$ samba
The program 'samba' is currently not installed.  You can install it by typing:
sudo apt-get install samba4
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t cifs -o username=Administraator,password=411023 //192.168.1.100/share /home/wangshuai/win7_F
mount: block device //192.168.1.100/share is write-protected, mounting read-only
mount: cannot mount block device //192.168.1.100/share read-only
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t smbfs -o username=Administraator,password=411023 //192.168.1.100/share /home/wangshuai/win7_F
mount: wrong fs type, bad option, bad superblock on //192.168.1.100/share,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

wangshuai@wangshuai-virtual-machine:~$ sudo mount -t smbfs -o username=Administraator,password=411023 //192.168.1.100/share /home/wangshuai/win7_F
mount: wrong fs type, bad option, bad superblock on //192.168.1.100/share,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

wangshuai@wangshuai-virtual-machine:~$ ^C
wangshuai@wangshuai-virtual-machine:~$ sudo apt-get install nfs-common
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package nfs-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'nfs-common' has no installation candidate
wangshuai@wangshuai-virtual-machine:~$ sudo service portmap status
portmap: unrecognized service
wangshuai@wangshuai-virtual-machine:~$ sudo service portmap start
portmap: unrecognized service
wangshuai@wangshuai-virtual-machine:~$ sudo smbmnt -t cifs -o username=Administraator,password=411023 //192.168.1.100/share /home/wangshuai/win7_F
sudo: smbmnt: command not found
wangshuai@wangshuai-virtual-machine:~$ smbmnt
smbmnt: command not found
wangshuai@wangshuai-virtual-machine:~$ smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
Unable to connect to SMB server on machine 127.0.0.1. Error was : NT_STATUS_CONNECTION_REFUSED.
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t smbfs -o username=Administraator,password=411023 //192.168.1.100/share /home/wangshuai/win7_F
mount: wrong fs type, bad option, bad superblock on //192.168.1.100/share,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

wangshuai@wangshuai-virtual-machine:~$ sudo mount -t smbfs -o codepage=cp936  username=Administraator,password=411023 //192.168.1.100/share /home/wangshuai/win7_F
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t smbfs -o codepage=cp936  username=Administraator,password=411023 //192.168.1.100/share /home/wangshuai/win7_F
[sudo] password for wangshuai:
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t smbfs -o codepage=cp936  username=Administrator,password=411023 //192.168.1.100/share /home/wangshuai/win7_F
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
wangshuai@wangshuai-virtual-machine:~$ sudo mount -t smbfs -o username=Administrator,password=411023 //192.168.1.100/share /home/wangshuai/win7_Fmount: wrong fs type, bad option, bad superblock on //192.168.1.100/share,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值