Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: IceDizzy on February 12, 2006, 07:51:56 AM
-
On a SME server 7 pre 2 wher did the harddrives go?
Used SME 6.5 earlier and it worked like god him self.
But newer mysql and webmail tempted me to make a clean install of pre 2.
Not so clever maybe? but i think i have some thing to learn about the newer stuff.
Don't understand harddrive handling and horde refuses to let me log in.
Keeps saying that my hdb ale ready mounted? Where?
Why can't i see hda in fstab or with mount?
Something new in linux have been done ;-) and i didn't keep up.
Any help out there?
Regards:
/Ice
My configs below.
#------------------------------------------------------------
# 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
#------------------------------------------------------------
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/vg_primary/lv_root / ext3 usrquota,grpquota
1 1
/dev/md1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/vg_primary/lv_swap swap swap defaults 0 0
/dev/hdc /media/cdrom auto pamconsole,exec,noauto,m
anaged 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,m
anaged 0 0
=======================================================================
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_primary-lv_root
1.6G 1020M 476M 69% /
/dev/md1 99M 13M 82M 13% /boot
none 94M 0 94M 0% /dev/shm
=======================================================================
[root@micro vent]# cd /mnt/18G
[root@micro 18G]# ll
total 0
[root@micro 18G]# cd ..
[root@micro mnt]# mount /dev/hdb -t ext3 /mnt/18G
mount: /dev/hdb already mounted or /mnt/18G busy
[root@micro mnt]#
-
mount -t ext3 /dev/hdb /mnt/18G of cource.
Same result.
-
Command (m for help): p
Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 fd Linux raid autodetect
/dev/hdb2 14 2434 19446682+ fd Linux raid autodetect
-
hdb is part of your raid aray. You can't mount it because it is already in use.
How many drives do you have in the machine?
what is the output of:
cat /proc/mdstat
-
I've got 2 drives and longing for the rest of the tickeling bytes of hdb.
I've red ab it mor about lvm:s and pvcreate vgextend just getting new installations of the server all morning.
Here's the listning you asked for.
I dont know why it is called Raid it is just ordinary IDE disks.
/Ice
[root@micro ~]# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 hdb2[1] hda2[0]
4112576 blocks [2/2] [UU]
md1 : active raid1 hdb1[1] hda1[0]
104320 blocks [2/2] [UU]
unused devices: <none>
[root@micro ~]#
-
Don't understand harddrive handling and horde refuses to let me log in.
Please report any problems with new installations in the bug tracker, and nowhere else, please.
-
I thougt it were a lack of my skills hwo caused the two different problems.
I'll file them in the bugtracker np.
Keep the discussion here plz if someone finds a solution.
/Ice
-
Here's the listning you asked for.
I dont know why it is called Raid it is just ordinary IDE disks.
/Ice
[root@micro ~]# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 hdb2[1] hda2[0]
4112576 blocks [2/2] [UU]
md1 : active raid1 hdb1[1] hda1[0]
104320 blocks [2/2] [UU]
unused devices: <none>
[root@micro ~]#
SME uses all your IDE hard drive installed to create a raid 1 (mirrored raid)array. This output shows your raid arrays. The size of your arrays will total the smallest drive available. Such as:
hda = 4GB
hdb = 20GB
Total size of your array(s) will be 4GB as this is the smallest drive available.
md1 : active raid1 hdb1[1] hda1[0]
104320 blocks [2/2] [UU]
This is your raid array md1. It consists of partitions hda1 and hdb1. The [2/2] means that both discs are synced up and running properly.
If you want to install the system on hda only, you will need to remove hdb before you install. Then you will need to mount hdb after the installation.
This procedure has been discussed many times on these forums. Be careful because the procedure is probably different for version 7.
Horde (webmail) is disabled by default. Go to the server manager panel and enable it and try again. If it still does not work, then report a bug. It works for me on a fresh install of Pre2.
I don't think there are any bugs here, I think you just need to understand the system better.
What is your native language?
Paul
-
Thanks Pfloor.
Small silly things make tings different along with a good explanation.
Everything solved out.
I'll buy a book about lvm:s
Now i have to chase an end to the bug wich is not a bug, stupid avice i've got erlier to submit it as a bugg some were i felt that it were a lack of competence.
Thanks again.
Sme are awsome along with the forum support.
/Ice.