Guys...
Building a new imaging server @work using current ver of sme sever (6.0.1). We're going to use it to house ghost images. Got it built and ran Greg's update script against it, sans the spamfilter, phpmyadmin, other neat toys - not really needed on this machine. Anyway... I'm looking at hanging a second disk as we are also planning on using this machine as our mp3 server (netjuke). I'm getting quite confused by the following information that I'm seeing though when I'm go to install the 2nd drive.
Check this out:
[root@imaging etc]# cat fstab
#------------------------------------------------------------
# BE CAREFUL WHEN MODIFYING THIS FILE! It is updated automatically
# by the SME server software. A few entries are updated during
# the template processing of the file and white space is removed,
# but otherwise changes to the file are preserved.
# For more information, see
http://www.e-smith.org/custom/ and
# the template fragments in /etc/e-smith/templates/etc/fstab/.
#
# copyright (C) 2002 Mitel Networks Corporation
#------------------------------------------------------------
LABEL=/ / ext3 usrquota,grpquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
[root@imaging etc]# df -T
Filesystem Type 1k-blocks Used Available Use% Mounted on
/dev/hda3 ext3 115014344 51275300 57896608 47% /
/dev/hdc1 ext3 101089 14043 81827 15% /boot
none tmpfs 127032 0 127032 0% /dev/shm
Why is /boot mounted at /dev/hdc1 ?? The box was built with just the one drive in it. That drive is hda - master on the primary ide controller. The 2nd drive is master on the 2nd controller - that should be hdc.
I was able to fdisk /dev/hdc and delete existing partitions, re-create a new partition and the write it out. It was only when I went to create a filesystem on it (mkfs -t ext2 /dev/hdc1) that I realized that something strange was/is going on. ( it wouldn't let me... said that there was already a file system here... )
I'm slightly confused... anyone?
Thanks...
-=- jd -=-