[ccoss] Re: mounting errors
- From: Christopher Paulin <cpaulin@xxxxxxx>
- To: ccoss@xxxxxxxxxxxxx
- Date: Thu, 27 Nov 2003 19:49:41 -0500
So, that explains why this works:
--------------------------------------
/etc/fstab entry changed:
/dev/hdb1 /mnt/mandrake ext2
users,defaults 1 2
p450:/home/chris # mount /mnt/mandrake
p450:/home/chris # umount /mnt/mandrake
chris@p450:~> mount /mnt/mandrake/
chris@p450:~> umount /mnt/mandrake/
--------------------------------------
uid and gid were not in the ext2 mount options when using "man mount":
Mount options for ext2
The `ext2' file system is the standard Linux file system. Due to
a kernel bug, it may be mounted with random mount
options (fixed in Linux 2.0.4).
bsddf / minixdf
Set the behaviour for the statfs system call. The minixdf
behaviour is to return in the f_blocks field the total
number of blocks of the file system, while the bsddf
behaviour (which is the default) is to subtract the overhead
blocks used by the ext2 file system and not available for
file storage. Thus
...............................continued...........................
If I wanted to use that partition for extra storage using my chris home
directory, I would need to make the user and group numbers the same:
/etc/password:
chris:x:500:100:Christopher Paulin:/home/chris:/bin/bash
/mnt/mandrake/etc/password:
chris:x:501:501:Christopher Paulin:/home/chris:/bin/bash
That's a side project.
Christopher Paulin
Bill wrote:
>I just did a "man fstab" and it suggested "man mount" and from what I
>can tell on my system, the ext2 options do not include uid/gid options....
>
>Maybe someone can correct me. Initially I though users and uid/gid would
>conflict, but I cannot find evidence of that either...
>
>Where did you get the idea to use those options? I'd recommend that you
>figure out how to mount it as root, specifying all the options you need
>(at least ones not directly fstab-ralated of course;-) Then you can work
>on fitting them into fstab.
>
>
>Christopher Paulin wrote:
>
>
>
>> What's wrong with this file system table (/etc/fstab)?
>>
>>/etc/fstab entry:
>>
>>/dev/hdb1 /mnt/mandrake ext2
>>users,uid=500,gid=100,defaults 1 2
>>
>>user chris:
>>
>>chris@p450:~> mount /mnt/mandrake/
>>mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
>> or too many mounted file systems
>>chris@p450:~>
>>
>>root:
>>
>>p450:/home/chris # mount /mnt/mandrake
>>mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
>> or too many mounted file systems
>>p450:/home/chris #
>>
>>--------------------------------------
>>/etc/fstab entry changed:
>>
>>/dev/hdb1 /mnt/mandrake ext2
>>users,defaults 1 2
>>
>>p450:/home/chris # mount /mnt/mandrake
>>p450:/home/chris # umount /mnt/mandrake
>>
>>chris@p450:~> mount /mnt/mandrake/
>>chris@p450:~> umount /mnt/mandrake/
>>
>>--------------------------------------
>>/etc/fstab entry changed:
>>
>>/dev/hdb1 /mnt/mandrake ext2
>>users,uid=500 1 2
>>
>>chris@p450:~> mount /mnt/mandrake/
>>mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
>> or too many mounted file systems
>>chris@p450:~>
>>
>>p450:/home/chris # mount /mnt/mandrake
>>mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
>> or too many mounted file systems
>>p450:/home/chris #
>>
>>Christopher Paulin
>>
>>
>>
>>
>>
>>
>>_______________________________________________
>>CCOSS mailing list
>>ccoss@xxxxxxxxxxxxx
>>CCOSS mailing list page: http://www.freelists.org/cgi-bin/list?list_id=3594
>>CCOSS Web page: http://www.ccoss.org
>>
>>
>>
>>
>>
>
>
>_______________________________________________
>CCOSS mailing list
>ccoss@xxxxxxxxxxxxx
>CCOSS mailing list page: http://www.freelists.org/cgi-bin/list?list_id=3594
>CCOSS Web page: http://www.ccoss.org
>
>
>
_______________________________________________
CCOSS mailing list
ccoss@xxxxxxxxxxxxx
CCOSS mailing list page: http://www.freelists.org/cgi-bin/list?list_id=3594
CCOSS Web page: http://www.ccoss.org
- Follow-Ups:
- [ccoss] Re: mounting errors
- From: Bill
- References:
- [ccoss] mounting errors
- From: Christopher Paulin
- [ccoss] Re: mounting errors
- From: Bill
Other related posts:
- » [ccoss] mounting errors
- » [ccoss] Re: mounting errors
- » [ccoss] Re: mounting errors
- » [ccoss] Re: mounting errors
- » [ccoss] Re: mounting errors
- [ccoss] Re: mounting errors
- From: Bill
- [ccoss] mounting errors
- From: Christopher Paulin
- [ccoss] Re: mounting errors
- From: Bill