Re: Mounting to a second hard disk




On 5/31/06, Giorgos Keramidas <keramida@xxxxxxxxxxxxxxx> wrote:
On 2006-05-31 08:37, Kevin Kinsey <kdk@xxxxxxxxxx> wrote:
Philip Radford wrote:
Hi All,
I have just installed FreeBSD 5.4 on a server with two hard disks.
Cool ... :)
Nice :)
No Comment.

I have access to all my partitions on the first disk :-

/dev/ad0s1a - /
/dev/ad0s1e - /tmp
/dev/ad0s1f - /usr
/dev/ad0s1d - /var

How do I go about mounting to the second drive which I
assume would start with /dev/ad1*

$ dmesg | grep ad

Another way is through atacontrol:
# atacontrol list

I am not sure how big a question you are asking here. If it is
just what the dev name will be, then others have answered that.
Just look in /dev for ad* or look in dmesg for ad** devices
being recognized, etc.

But, maybe you mean the whole process of getting the new drive
built, mounted and usable. Is that what you are asking? If so,
the first comment is 'the FreeBSD Handbook is your Friend'.

The general outline is:
fdisk(8) - Make at least one FreeBSD slice on it
bsdlabel(8) - Make at least one partition in each slice
newfs(8) - Build a filesystem on each partition created
mkdir /newdska - create mount points for each partition to be mounted
edit /etc/fstab to add mount definitions - presuming you want it mounted
- whenever you boot.
Something like:
/dev/ad1s1a /newdsk ufs rw 2 2

mount /newdsk - (or just 'mount -a' will do it) Mount the partition

You can use sysinstall to do all this if you are squeemish about
doing it youself. But is really isn't that hard and you will
learn a little more about how you disk system is put together.

Have fun,

////jerry

--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Partitioning
    ... >> Hard disks are so big nowadays, is a separate partition for apt ... > Houses are so big nowadays, is a separate room for sleeping really ... are on the same partition as OpenOffice. ... a house is like a partitioned hard disk. ...
    (Debian-User)
  • Re: Dual-Boot Installation Using 2 Hard Disks
    ... Since you have 2 hard disks, ... Windows XP and Server 2003 do not need to be on the primary partition, ... You can simply install XP on one disk, ...
    (microsoft.public.windows.server.setup)
  • Re: install issues
    ... >> I've installed FreeBSD enough times, but have never had anything like ... >> System boots up, begins reading the CD ROM and takes me to the kernel ... I tried disabling one of the hard disks and had the same ... To unsubscribe, ...
    (freebsd-questions)
  • Re: [PATCH] FILESYSTEMS: Make "advanced partitions" immediately unselectable.
    ... However, leave MSDOS_PARTITION as a basic partition type (i.e., ... +config MSDOS_PARTITION ... Support hard disks partitioned under Acorn operating systems. ... Linux will support disk partitions created under ADFS. ...
    (Linux-Kernel)
  • Re: Do I Need/Want a Floppy Drive?
    ... hard drives seems to make a lot of sense. ... For $50 I could probably get another drive as large as any partition I ... > not be so much of a problem now with much larger capacity hard disks but, ... >> separately), and create the backup disks, etc. ...
    (microsoft.public.windowsxp.newusers)