Mandriva installation with nforce4
Rob Hall
robslists at digitalmedia.newsquest.co.uk
Fri Dec 30 11:31:07 UTC 2005
On Friday 30 December 2005 10:10, Franck Benchetrit wrote:
If you only require single user access to the partitions in question you can
add uid=<username> to the fstab entry. You can also use gid=<groupname> if
you want to allow a user group access or set a umask=<value> to change the
default permissions assigned to the mount. As such you're fstab line should
look something like:-
/dev/mapper/nameofmypartitionC /mnt/raidc ntfs uid=<username>,otherinfo
If you read the man page for mount it explains the ntfs options as well as
stating "By default, the files are owned by root and not readable by somebody
else."
> Thank you very much for your help.
> I have added to the rc.local file the following commands:
> modprobe dm-mod
> dmraid -ay
> mkdir /mnt/raidc
> mkdir /mnt/raidd
>
> and to the fstab file:
> /dev/mapper/nameofmypartitionC /mnt/raidc ntfs, otherinfo (copied from the
> line where my disk "non raid" were mounted.
> But now, when I boot, everything goes well, I can see my discs in the
> explorer, but I can't access it as I'm not loged as root. I assume that
> has something to do with the mkdir that didn't gave the rights to the
> normal users, I'll have to change it.
> Otherwise, regarding my second question, I'm using Grub (as I had read in
> wiki about gentoo and dmraid that Lilo didn't work). But I can otherwise
> use Lilo, it's ok for me.
>
> Thanks again for your help
>
> Franck
> -----Message d'origine-----
> De : Molle Bestefich [mailto:molle.bestefich at gmail.com]
> Envoyé : jeudi 29 décembre 2005 23:05
> À : franck at benchetrit.net
> Cc : ataraid-list at redhat.com
> Objet : Re: Mandriva installation with nforce4
>
> Franck Benchetrit wrote:
> > Hello everybody,
>
> Hi, Dr. Nick!
>
> > I discovered today I had to umount the ntfs partition, and do a
>
> Good idea.
> In fact, if you add "dmraid -ay" to one of your startup scripts, you
> can just update /etc/fstab to point to the RAID partition instead of
> the component partition as it does now.
>
> There should be a script called something like rc.local or
> something-related-to-local in either /etc/rc.d or /etc/init.d - can't
> remember - where you can add dmraid -ay.
>
> > #modprobe dm-mod
> > #dmraid -ay
> >
> > Now I can see in /dev/mapper my discs (in fact I can see 3, which is
> > weird as I just have 2 partitions on my discs, but that's ok).
>
> One of them (the one without a number) represents the RAIDed disk.
> The other two obviously represents partitions on that "disk".
>
> > Now, I have no idea how to mount the discs so I can go to the drives. I
> > tried
> >
> > #mount -t /dev/mapper/nameofmydisc
> >
> > But it didn't work.
>
> man mount
> info mount
> google: mount man page
>
> will tell you that the -t option to mount expects the next option to
> be a filesystem type.
>
> Thus the correct command would be something akin to:
>
> # mount -t ntfs /dev/mapper/nameofyourPARTITION /mnt/whatever_mountpoint
>
> > Can somebody help me for:
> > - see my win partition from lilo or grub, so I can boot either on windows
>
> or
>
> > mandriva?
>
> Sure. What are you using, Lilo or Grub?
>
> > - see my RAID discs as one in mandriva so I can access my files from
>
> Linux?
>
> Sounds like you've almost got that one pinned yourself.
>
>
>
>
> _______________________________________________
> Ataraid-list mailing list
> Ataraid-list at redhat.com
> https://www.redhat.com/mailman/listinfo/ataraid-list
--
Best regards,
Rob Hall - Red Hat Certified Engineer
Technical Team Leader
Newsquest Digital Media
More information about the Ataraid-list
mailing list