PDA

View Full Version : [ubuntu] saving configuration



jakub12
June 21st, 2008, 05:03 AM
A have managed to mount an existing ntfs raid 0 partition, so that it appears on my desktop and is accessible to read and write.
The only problem I have now is that I don't know how to save this configuration so that I don't have to remount it every time I reboot my Ubuntu session (I know its a silly newbie question).
Here are the commands in case anybody is interested:

sudo dmraid -ay
RAID set "nvidia_ibfbejec" already active
RAID set "nvidia_ibfbejec1" already active

sudo mkdir /media/raid
sudo mount -t ntfs /dev/mapper/nvidia_ibfbejec1 /media/raid

Thanks,
Jakub

Rocket2DMn
June 21st, 2008, 06:39 AM
You will need to add the partition to /etc/fstab - see community/Fstab
You can check your Fstab entry with me if you'd like, it will be something like:

/dev/mapper/nvidia_ibfbejec1 /media/raid ntfs-3g defaults,locale=en_US.utf8 0 0
I'm not entirely sure if any more is needed because it is a RAID partition.

jakub12
June 23rd, 2008, 03:36 AM
Thanks, that did it!!!
Jakub