partition unusable after filesystem creation
hi all,
I have newly created filesystem on one of my partitions. After that I am not able to paste anything into it. What is the reason? Even after mounting it also? Thanks in advance, Chaitanya. |
What are the permissions set up by a) the mount and b) the root directory of the file system?
To answer the first, tell us what the device is (example /dev/sdb1) and the output of cat /proc/mounts and what is the output of ls -ld of the mount point directory (example: if mounted at /mnt/hd of ls -ld /mnt/hd). |
the device is /dev/sda10
output of /proc/mounts ------------------------- dev/sda7 on / type ext3 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) 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) 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) none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) gvfs-fuse-daemon on /home/chaitanya/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=chaitanya) /dev/sda8 on /media/Ubuntu type ext3 (rw,nosuid,nodev,uhelper=udisks) /dev/sda10 on /media/8738e73c-a76b-4b9d-90ba-0af71794928a type ext2 (rw,nosuid,nodev,uhelper=udisks) -------------------------------------------------------- chaitanya@chaitu:~$ ls -ld /dev/sda10 brw-rw---- 1 root disk 8, 10 2010-11-27 09:22 /dev/sda10 --------------------------------------------- |
IDK what uhelper=udisks does but the ls output makes the root directory of the file system writeable only by root and logons in the disks group -- and directory contents listable by no logons which is not going to be much use.
Which distro are you using? |
mine is ubuntu 10.04 ...?
> output makes the root directory of the file system writeable only by root and logons in the disks group -- and directory > contents listable by no logons which is not going to be much use. I didnot understand what u meant to say. Plz elaborate it a bit more. Chaitanya. |
Looks like there is an issue with permissions on the partition (since you say that root can write to it).
If you want the partition to be accessible to all (read and write) the best option is to add it in /etc/fstab. Read the man page for fstab. Hope this helps. |
Quote:
|
i mean which output ..?
actually the whole thing is not clear for me..! |
i mean what is the output..?
actually the whole thing is not clear for me.? and after we create a filesystem in a partition it must be added in the fstab for reading and writing into it.? |
Quote:
|
sir,
but i have another partition /dev/sda3 (primary partition) chaitanya@chaitu:~$ ls -ld /dev/sda3 brw-rw---- 1 root disk 8, 3 2010-11-27 19:39 /dev/sda3 even its permissions are the same but i am able to read and write into it. Chaitanya. |
Quote:
|
/bin/ls -ld /media/8738e73c-a76b-4b9d-90ba-0af71794928a/
-------------------------------------------------------------- drwxr-xr-x 3 root root 4096 2010-11-26 23:14 /media/8738e73c-a76b-4b9d-90ba-0af71794928a/ |
All times are GMT -5. The time now is 08:37 PM. |