sudo fdisk -l
sudo blkid
mount
gedit /etc/fstab
[email protected] ~ $ sudo fdisk -l
[sudo] password for graeme:
Disk /dev/sda: 360.1 GB, 360080695296 bytes
255 heads, 63 sectors/track, 43777 cylinders, total 703282608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000001
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 358106348 179052150+ 7 HPFS/NTFS/exFAT
/dev/sda2 358107134 703281151 172587009 5 Extended
/dev/sda5 358107136 699107327 170500096 83 Linux
/dev/sda6 699109376 703281151 2085888 82 Linux swap / Solaris
[email protected] ~ $ sudo blkid
/dev/sda1: LABEL="Windows 7" UUID="02CAA59322478EE4" TYPE="ntfs"
/dev/sda5: UUID="034e3cfc-8511-446b-98eb-9e88283cf12a" TYPE="ext4"
/dev/sda6: UUID="50359b49-a810-460e-befa-9616af24bcba" TYPE="swap"
[email protected] ~ $ mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
gvfsd-fuse on /run/user/graeme/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=graeme)
[email protected] ~ $
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=034e3cfc-8511-446b-98eb-9e88283cf12a / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=50359b49-a810-460e-befa-9616af24bcba none swap sw 0 0
Am I missing something .. I can only see one HDD there.
mount
you're trying to mount remote shares ?
has the NAS got a static IP ?
Can you mount the shares through gigolo
[email protected] ~ $ mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
gvfsd-fuse on /run/user/graeme/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=graeme)
[email protected] ~ $
Doyou know the path to the shares .. such as
and do the shares require login credentials ?
were all the shares contents visible as expected ?
sudo mkdir -p /mnt/NAS
cd /mnt/NAS
sudo mkdir family-tree graeme pat multimedia movies backups utilities
ls -a /mnt
sudo cp -v /etc/fstab /etc/fstab.backup
sudo gedit /etc/fstab
# NAS shares
//192.168.2.50/family-tree /mnt/NAS/family-tree cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
# NAS shares
//192.168.2.50/family-tree /mnt/NAS/family-tree cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
sudo mount -a
sudo gedit /etc/fstab
//192.168.2.50/graeme /mnt/NAS/graeme cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
sudo mount -a
sudo gedit /etc/fstab
//192.168.2.50/pat /mnt/NAS/pat cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
sudo mount -a
sudo gedit /etc/fstab
//192.168.2.50/multimedia /mnt/NAS/multimedia cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
sudo mount -a
sudo gedit /etc/fstab
//192.168.2.50/movies /mnt/NAS/movies cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
sudo mount -a
sudo gedit /etc/fstab
//192.168.2.50/backups /mnt/NAS/backups cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
sudo mount -a
sudo gedit /etc/fstab
//192.168.2.50/utilities /mnt/NAS/utilities cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
sudo mount -a
# NAS shares
//192.168.2.50/family-tree /mnt/NAS/family-tree cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
//192.168.2.50/graeme /mnt/NAS/graeme cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
//192.168.2.50/pat /mnt/NAS/pat cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
//192.168.2.50/multimedia /mnt/NAS/multimedia cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
//192.168.2.50/movies /mnt/NAS/movies cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
//192.168.2.50/backups /mnt/NAS/backups cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
//192.168.2.50/utilities /mnt/NAS/utilities cifs iocharset=utf8,dir_mode=0777,file_mode=0777 0 0
Have you done ALL of them ? .. I added some more whilst waiting
is this Peppermint 4 ?
mount
sudo mount -a
mount
[email protected] ~ $ sudo mount -a
[sudo] password for graeme:
[email protected] ~ $ mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
gvfsd-fuse on /run/user/graeme/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=graeme)
gvfsd-fuse on /home/graeme/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev)
//192.168.2.50/family-tree on /mnt/NAS/family-tree type cifs (rw)
//192.168.2.50/graeme on /mnt/NAS/graeme type cifs (rw)
//192.168.2.50/pat on /mnt/NAS/pat type cifs (rw)
//192.168.2.50/multimedia on /mnt/NAS/multimedia type cifs (rw)
//192.168.2.50/movies on /mnt/NAS/movies type cifs (rw)
//192.168.2.50/backups on /mnt/NAS/backups type cifs (rw)
//192.168.2.50/utilities on /mnt/NAS/utilities type cifs (rw)
[email protected] ~ $
is this PC connected wirelessly ?
You online tomorrow ?
dpkg -l | grep smb
dpkg -l | grep cifs
is this the respin ?
[email protected] ~ $ dpkg -l | grep smb
ii libsmbclient:i386 2:3.6.9-1ubuntu1.2 i386 shared library for communication with SMB/CIFS servers
ii python-smbc 1.0.13-0ubuntu4 i386 Python bindings for Samba clients (libsmbclient)
ii smbclient 2:3.6.9-1ubuntu1.2 i386 command-line SMB/CIFS clients for Unix
[email protected] ~ $ dpkg -l | grep cifs
ii cifs-utils 2:5.5-1ubuntu2 i386 Common Internet File System utilities
[email protected] ~ $
Have you still got gigolo installed, and are the mounts set to automount in that ?
sudo mount -a
sudo gedit /etc/network/if-up.d/my-custom-mountall
#!/bin/sh
mount -a
sudo chmod +x /etc/network/if-up.d/my-custom-mountall