adding new disk to the system

2008-08-31 Thread Sasa Stupar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

I have a working FBSD 7.0 and two disks in RAID-1 (gmirror). Now I want
to add another disk which will be used as file exchange disk so I don't
need it in raid-1 (not sensitive data).
Do I add new drive with standard procedure and just create a new mount
point e.g. /newdrive or do I need to do something else?

Regards,
Sasa
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki6vHcACgkQNT6IH6ilQwggywCfdlMzKDKvzjVaVzlrTMqSYbth
OqYAoKpOeZMQR4leGCDg3KWFdExInHDR
=feL5
-END PGP SIGNATURE-


smime.p7s
Description: S/MIME Cryptographic Signature


Re: adding new disk to the system

2008-08-31 Thread Polytropon
On Sun, 31 Aug 2008 17:44:55 +0200, Sasa Stupar [EMAIL PROTECTED] wrote:
 Do I add new drive with standard procedure and just create a new mount
 point e.g. /newdrive or do I need to do something else?

Well, for your designated usage of the disk, take the easy way
(assumed ad6 to be the new disk, check dmesg | grep ^ad):

# mkdir /exchange
# newfs /dev/ad6
# mount -t ufs /dev/ad6 /exchange

Pay attention to the access rights of /exchange. Put a line into
/etc/fstab to automount the disk at startup.

Yes, it is that easy. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: adding new disk to the system

2008-08-31 Thread Wojciech Puchar

Hi!

I have a working FBSD 7.0 and two disks in RAID-1 (gmirror). Now I want
to add another disk which will be used as file exchange disk so I don't
need it in raid-1 (not sensitive data).
Do I add new drive with standard procedure and just create a new mount
point e.g. /newdrive or do I need to do something else?


what is standard procedure of adding drive to the system? i never heard 
about this unless you mean standard procedure of installing disk in PC 
computers - like putting inside, mounting with screws, pluggin power and 
signal cables etc. ;)


do whatever you need and is best for you. it's unix, not windoze.

if it's for file exchange, then it will be often connected and 
disconnected, so make some subdir, add


/dev/drive /subdir ufs rw,noatime,noauto 0 0

and mount it and unmount manually when needed.


note that if you need transfering data to nearby computers, fast (or 
gigabit) ethernet is much better idea than constantly swapping drives.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]