Skip to main content

Thread: configuring mapping harddrive problem.


i have problems configuring fstab , samba work after reinstall of ubuntu 10.04.

have managed work before, in post.

want ntfs formatted drive (sdb1) , home folder mapped other computers, can't work, following error when starting ubuntu:
error occurred while mapping /media/1tbsamsung og /media/store

, samba doesn't seem running.

root@ubuntu:/home/kanolsen# service samba status
samba: unrecognized service


root@ubuntu:/home/kanolsen# fdisk -l

disk /dev/sda: 1000.2 gb, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
sector size (logical/physical): 512 bytes / 512 bytes
i/o size (minimum/optimal): 512 bytes / 512 bytes
disk identifier: 0x000b987c

device boot start end blocks id system
/dev/sda2 * 1 121601 976759009+ 5 extended
/dev/sda5 121039 121601 4522266 82 linux swap /
solaris
/dev/sda6 1 2433 19534848 83 linux
/dev/sda7 2433 121038 952699904 83 linux

partition table entries not in disk order

disk /dev/sdb: 1000.2 gb, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
sector size (logical/physical): 512 bytes / 512 bytes
i/o size (minimum/optimal): 512 bytes / 512 bytes
disk identifier: 0x31f4aa6f

device boot start end blocks id system
/dev/sdb1 1 121602 976759808 7 hpfs/ntfs
root@ubuntu:/home/kanolsen# nano /etc/samba/smb.conf

root@ubuntu:/home/kanolsen# testparm -s
load smb config files /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum windows limit (16384)
processing section "[printers]"
processing section "[print$]"
processing section "[ntfs]"
loaded services file ok.
error: lock directory /var/run/samba not exist
error: pid directory /var/run/samba not exist
server role: role_standalone
[global]
workgroup = hjemme
server string = %h server (samba, ubuntu)
map guest = bad user
obey pam restrictions = yes
pam password change = yes
passwd program = /usr/bin/passwd %u
passwd chat = *enter\snew\s*\spassword:* %n\n
*retype\snew\s*\spassword:* %n\n
*password\supdated\ssuccessfully* .
unix password sync = yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = no
usershare allow guests = yes
panic action = /usr/share/samba/panic-action %d

[printers]
comment = printers
path = /var/spool/samba
create mask = 0700
printable = yes
browseable = no
browsable = no

[print$]
comment = printer drivers
path = /var/lib/samba/printers

[ntfs]
comment = public folder
path = /media/ntfs
force user = nobody
force group = nogroup
read = no
create mask = 0777
directory mask = 0777
guest ok = yes

root@ubuntu:/home/kanolsen# cat /etc/fstab
# /etc/fstab: static file system information.
#
# use 'blkid -o value -s uuid' print universally unique
identifier
# device; may used uuid= more robust way name
# devices works if disks added , removed. see fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / on /dev/sda6 during installation
uuid=69e2c58b-3c9c-4dd7-a117-d4599d2322c6 / ext4
errors=remount-ro 0 1
# /home on /dev/sda7 during installation
uuid=44bb1e07-d555-4a06-b11e-d632a9ee255b /home ext4
defaults 0 2
# swap on /dev/sda5 during installation
uuid=35bcfb82-911f-42ad-8637-e35355bf9611 none swap sw
0 0
/dev/sda /media/store ext3 user,suid,dev,exec 0 0
/dev/sdb1 /media/1tbsamsung ntfs-3g defaults 0 0
root@ubuntu:/home/kanolsen# blkid -c /dev/null
/dev/sda5: uuid="35bcfb82-911f-42ad-8637-e35355bf9611" type="swap"
/dev/sda6: uuid="69e2c58b-3c9c-4dd7-a117-d4599d2322c6" type="ext4"
/dev/sda7: uuid="44bb1e07-d555-4a06-b11e-d632a9ee255b" type="ext4"
/dev/sdb1: label="1tbsamsung" uuid="7c209af2209ab31e" type="ntfs"
root@ubuntu:/home/kanolsen#

why trying mount sda /media/store? mistake?


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] configuring mapping harddrive problem.


Ubuntu

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO