You are not logged in.

#1 2010-06-03 20:00:44

Neo139
Member
Registered: 2010-06-03
Posts: 5

[solved] Problems with mounting partitions

Here are my partitions
partitions.png

I tried to mount sda8 (labeled "datos") using Dolphin but I have this error:
An error ocurred while accesing "datos", the system responded:
mount: only root can mount /dev/sda8 on /mnt/data

So in console I did:

[root@myhost disk]# mount /dev/sda8 /mnt/data
mount: mount point /mnt/data does not exist
[root@myhost media]# mount /dev/sda8 /mnt/
mount: /dev/sda8 already mounted or /mnt/ busy
mount: according to mtab, /dev/sda8 is already mounted on /mnt

But i go to /mnt with any file manager and it is empty.(one lost+found folder of 20kb)

=======================
Other problem.
I have sda1 (win xp) in /media/disk
But I dont have access to write, just read.
It-s a folder, so when I tried to mount it:

[root@myhost media]# mount /media/disk /mnt/
mount: /media/disk is not a block device

I dont know if it has something to do but
I have hal in DAEMONS in rc.conf

DAEMONS=(syslog-ng network netfs crond alsa hal)

here is my fstab:

  GNU nano 2.2.4               File: /etc/fstab                                    

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

/dev/sda5 swap swap defaults 0 0
LABEL=boot /boot ext4 defaults 0 1
LABEL=home /home ext4 defaults 0 1
LABEL=root / ext4 defaults 0 1
LABEL=var /var ext4 defaults 0 1
/dev/sda8 /mnt/data ext4 defaults,noatime 0 0

UPDATE: I just installed ntfs-3g-2010.5.16- and reboot. Now I can write what is inside /disk but when i go to media there is no folder named disk. I have to access to it manually typing /media/disk
Still. I want sda8 in mnt/datos and sda1 in mnt/windows

[root@myhost /]# ls -lah
total 78K
drwxr-xr-x  21 root root 4.0K Jun  2 21:00 .
drwxr-xr-x  21 root root 4.0K Jun  2 21:00 ..
drwxr-xr-x   2 root root 4.0K Jun  3 14:29 bin
drwxr-xr-x   4 root root 1.0K Jun  2 18:56 boot
drwxr-xr-x  15 root root 5.4K Jun  3 08:32 dev
drwxr-xr-x  52 root root 4.0K Jun  3 14:42 etc
drwxr-xr-x   4 root root 1.0K Jun  2 19:37 home
drwxr-xr-x  10 root root 4.0K Jun  3 14:29 lib
drwxr-xr-x   2 root root 4.0K May 29 10:24 lib64
drwx------   2 root root  16K Jun  2 18:53 lost+found
drwxr-xr-x   6 root root 4.0K Jun  3 13:38 media
drwxr-xr-x   3 root root 4.0K Jun  3 01:44 mnt
drwxr-xr-x   3 root root 4.0K Jun  3 00:10 opt
dr-xr-xr-x 243 root root    0 Jun  3 08:32 proc
drwxr-x---   5 root root 4.0K Jun  3 08:47 root
drwxr-xr-x   2 root root 4.0K Jun  3 14:29 sbin
drwxr-xr-x   4 root root 4.0K Feb 26 01:56 srv
drwxr-xr-x  13 root root    0 Jun  3 08:32 sys
drwxrwxrwt  16 root root 4.0K Jun  3 14:50 tmp
drwxr-xr-x  10 root root 4.0K Jun  3 08:24 usr
drwxr-xr-x  14 root root 4.0K Jun  2 18:56 var

any ideas?

Last edited by Neo139 (2010-06-07 04:28:13)

Offline

#2 2010-06-03 22:05:50

schen
Member
Registered: 2009-06-06
Posts: 468

Re: [solved] Problems with mounting partitions

What is the point of your datos partition? It seems that you have not allocated a lot of space to your /home partition. You have to create the /mnt/data part to mount it, with

mkdir /mnt/data

Offline

#3 2010-06-03 22:09:00

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [solved] Problems with mounting partitions

A 900GB random partition and a 462MB /home partition? yikes

Offline

#4 2010-06-04 00:01:15

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [solved] Problems with mounting partitions

^^ Apparently he uses "/home" for config files and "datos" for everything else. Good idea, I think.

Offline

#5 2010-06-04 04:41:06

Neo139
Member
Registered: 2010-06-03
Posts: 5

Re: [solved] Problems with mounting partitions

Thanks. Now I have the data folder with the free space. But I dont have the permissions to write.
I did as root

chmod 770 /mnt/data

but didint work. Now I can only write /mnt/data as root.
What should I do?

About the partitions size:
I wanted a very tiny /home and all in data because after some time using the OS my /home gets very messy, full of small files with the names of each program. configs, sessions, some tmps and other files that appear.

So  keep all my data,docs,music,etc at /mnt/data tidy and clean.

Offline

#6 2010-06-04 05:36:41

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [solved] Problems with mounting partitions

Neo139 wrote:

Thanks. Now I have the data folder with the free space. But I dont have the permissions to write.
I did as root

chmod 770 /mnt/data

but didint work. Now I can only write /mnt/data as root.
What should I do?

About the partitions size:
I wanted a very tiny /home and all in data because after some time using the OS my /home gets very messy, full of small files with the names of each program. configs, sessions, some tmps and other files that appear.

So  keep all my data,docs,music,etc at /mnt/data tidy and clean.

Try chmod -R 770 /mnt/data to change the permissions of all contents of the folder.

About the partitions: That is actually a really good idea smile

Last edited by cesura (2010-06-04 05:37:35)

Offline

#7 2010-06-07 04:27:56

Neo139
Member
Registered: 2010-06-03
Posts: 5

Re: [solved] Problems with mounting partitions

Thanks. I also did this
http://cazatech.wordpress.com/2007/10/0 … n-to-fstab
so now i have it in /mnt/windows.

Offline

Board footer

Powered by FluxBB