Operating Systems > Linux and UNIX

mounting a reiserfs partition

(1/3) > >>

Commander:
hey guys,
i was running out of space in my main parition(/) so i decided to reize one of my fat32 partitions and create a new reiserfs parition for some of the bigger applications in the linux partition.  (i didnt know how to use any of the linux applications, so i used partitionmagic.  it went well).  but now if i try to mount it, it goes nutty.  i've been running around google for a while now but none of the proposed solutions worked.
i tried adding this to fstab
--- Code: ---/dev/hda8            /apps                reiserfs   defaults   0 0
--- End code ---
 but it gave up with
--- Code: ---mount: wrong fs type, bad option, bad superblock on /dev/hda8,
       or too many mounted file systems
--- End code ---
if i try manually (because it worked for other people)
--- Code: ---linux:/ # mount -t reiserfs /dev/hda8 /apps
mount: wrong fs type, bad option, bad superblock on /dev/hda8,
       or too many mounted file systems
--- End code ---
as you can see, the same thing happens.
here's what i get with fdisk
--- Code: ---linux:/ # fdisk -l

Disk /dev/hda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1216     9767488+   c  W95 FAT32 (LBA)
/dev/hda2            1217       19929   150312172+   f  W95 Ext'd (LBA)
/dev/hda5            1217        2432     9767488+  83  Linux
/dev/hda6            2433        6080    29302528+   b  W95 FAT32
/dev/hda7            6081        8963    23157666    b  W95 FAT32
/dev/hda8            8964        9728     6144831   83  Linux
/dev/hda9            9729       19819    81055926    b  W95 FAT32
/dev/hda10          19820       19929      883543+  82  Linux swap / Solaris
--- End code ---
 this is really bugging me as i need the extra space.  any help on this will be greatly appreciated.

WMD:
You have to format the ReiserFS partition.  P. Magic won't do this.

Commander:
thanks for the hint! i formatted it with yast and added this line in the fstab file
--- Code: ---/dev/hda8            /apps                ext2       acl,user_xattr,users,gid=users,exec 1 2
--- End code ---
now the only problem is that a normal user (me) have no write permission.  is it possible to have write permission (and hopefully execution) in that drive as i do in my windows fat32 partitions?
thanks

Calum:
yes, you need to set a value for umask. i recommend 022 which will set default permissions of 755 to everything that gets created on that partition. this will involve adding "umask=022" after "exec", comma separated, no spaces.


actually i just thought about this and it should not be necessary, have a look at this:

--- Quote ---
/dev/hda6        /                reiserfs    defaults         1   1
/dev/hda7        /home            ext3        defaults         1   2

--- End quote ---

so now i think on it again, normal users do not have write permission on those direcories either.

also i think on it further and realise that a normal user does not need to have write access to program files either, so whatare you actually trying to do here?

also, why not make the new partition be /opt instead of adding a new nonstandard directory to your filesystem?

TheQuirk:
Reply was deleted since Calum answered it.

Why are you mounting a reiserfs partion as ext2?

Navigation

[0] Message Index

[#] Next page

Go to full version