You are not logged in.
Pages: 1
Hello,
I have few problems with my few partitions, both reiferfs and both are still empty
1) First is mounted to /mnt/storage but when do ls I see list of removable devices:
$ ls -l /mnt/storage/
total 0
drwxr-xr-x 2 root root 48 2008-07-10 00:39 cd
drwxr-xr-x 2 root root 48 2009-01-08 18:27 cdrom
drwxr-xr-x 2 root root 48 2008-07-10 00:39 dvd
drwxr-xr-x 2 root root 48 2008-07-10 00:39 fl
2) Another partition gets mounted correctly but I can't get it writable by my own user. Adding uid=1000 drops me that it's incorrect option. So I get partition owned by root, which is useless.
Any hints?
/etc/fstab:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
UUID=341bf036-f991-4e66-9660-18129ff8782c /mnt/projects reiserfs defaults 0 1
UUID=784d1fcf-5d7e-4c86-b621-09825644668a swap swap defaults 0 0
UUID=92a17987-bcf2-4164-8e38-7c6f1134000b / reiserfs defaults 0 1
UUID=f0850c6c-4b61-4839-86b4-05211ac612bc /mnt/storage reiserfs defaults 0 1
$ uname -a
Linux essdot 2.6.27-ARCH #1 SMP PREEMPT Sun Dec 21 09:31:10 UTC 2008 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux
System is up-to-date
Last edited by InfernalH (2009-01-09 10:54:28)
Offline
these uuid's are double-dutch (as far as I'm concerned).
do a 'fdisk -l /dev/sda' (or possibly /dev/hda) to list your partitions, then use the same ones in /etc/fstab.
ie something like this:
/dev/sda1 / reiserfs defaults 0 1
/dev/sda2 swap swap defaults 0 0
/dev/sda3 /mnt/whatever defaults reiserfs 0 1
/dev/sda4 /mnt/whatever2 reiserfs defaults 0 1
Obviously, you use the partitions that are appropriate for _your_ case - the above is but an example.
I don't know why you are mounting something on /mnt/storage when you allready have some dummies there (cd, cdrom, dvd, fl).
If you mount a partition on /mnt/storage, what is allready there will disappear! - and you do want those so you can mount eg a floppy on /mnt/storage/fl. Not that it is _neccessary_, it's just handy.
Those partitions that you cannot see/mount - have you made a filesystem on them (mkreiserfs /dev/sdaX)
If not - obviously you they cannot be mounted
Offline
perbh, thank you for your answer. Chaning UUID to /dev/sdaX didn't do the trick, the result are the same. And I'm sure these partitions do have filesystem - I've formated them during Arch install and checked with gparted also.
The second partition that mounts to weird "removable devices list" is just a partition for storing downloads, etc and when it is not mounted, /mnt/storage dir is empty. If I mount it to different directory, I get same results. That's the strangiest thing - why it shows list of removables instead of empty folder?
Any ideas about that?
P.S.: also, how to change owner of files in reiseirfs partition during mounting?
Offline
I guess it will be simpler to move to ext3 :-)
Offline
Hello
At first ensure /mnt/storage folder is not assigned by the system to mount other removable devices.
Then after making your /etc/fstab
/dev/sda3 /mnt/whatever reiserfs defaults 0 1
/dev/sda4 /mnt/whatever2 reiserfs defaults 0 1
Then as root
#chmod -v 0777 /mnt/{whatever,whatever1}
to get complete access (read/write) of partitions to all users
If you want to give full access to some users only then make a group named "commons" of such users (you can use any name as you wish). i.e if you want to give full access to users x,y,z then
#groupadd commons
Then add your users to the newly created group by editing the /etc/group file and modify the line
commons:x:1001:
as
commons:x:1001:x,y,z
and save the changes.
then issue
#chown root:commons /mnt/{whatever,whatever1}
#chmod -v 0775 /mnt/{whatever,whatever1}
Then the users belonging to the group commons have read/write permissions and others have read only permission on the folders /mnt/whatever /mnt/whatever1
I think there is nothing wrong with reiserfs file system in this case. Any file system have no impact on file permissions since it is decided by the default policy of the system that can be changed by the administrative user.
wish you good luck
mvdvarrier
mvdvarrier is a Warrior; Born to Expedite!!!
Offline
Pages: 1