Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: DC on October 20, 2002, 02:11:40 AM
-
Hlo,
I'm running SME v 5.5. I wonder if it's possible to add a 40 gb HDD... and mount it in such a way as to provide space for all Ibays?
I have seen a couple posts saying it's ok to do this for an individual Ibay but I wonder if it would work as a blanket solution for all of them.
Also any info someone could provide on just how to do it would be great...even a point in the right direction would help.
Thanks all
-
Hi,
Yes, just make sure you mount the second hdd at:
/home/e-smith/files/ibays
From:
http://www.star-support.com/downloads/mitel/contrib/Linux-HA/SME%20High%20Availability%20How-To.html
-----------------------------------------------------------
Now we’re ready to install the second Hard disk. Power down the servers and physically install the drive on the second IDE channel as Master Drive. Normally IDE 1 Master=hda, Slave=hdb and IDE 2 Master=hdc, Slave=hdd. So in our case the new drive will be device /dev/hdc.
You can also use a drive with data on them. Just connect it like explained above, and continue with preparing the mount point below.
New Drive without existing data:
We will only make 1 partition for the whole drive although more are possible. We’re going to use fdisk to partition and prepare the new drive so type fdisk /dev/hdc on the console.
§ delete all current partitions with option d followed by the partition number.
§ create a new partition with the n option, followed by option p followed by option 1
§ write the partition information by option w
§ create a the filesystem on your new partition mkfs –ext2 /dev/hdc1
Preparing the mount point
We will use /home/e-smith/files/ibays/data/files as the mount point for our drive. To prepare it cd to the directory /home/e-smith/files/ibays/data
enter: chown root.shared files
enter: chmod 0775 files (or different permissions according to your wishes)
-------------------------------------------------------
- edit fstab to enter the extra hdd and make it available at boot time
Hope it helps a bit.
Regards,
guestHH
-
i added a /dev/hdb1 to fstab,
/dev/hdb1 /home/e-smith/files/ibays ext2 defaults 1 2
but any ibays i create on the device are visible but not accesible by windows users
smb.conf for this is:
comment = a testing place
path = /home/e-smith/files/ibays/prueba/files
read only = no
writable = yes
printable = no
inherit permissions = yes
create mode = 0664
the user directory and the "primary" are both accessible, writeable etc.. *but* they are on /dev/hdb1
-
Keith said:
smb.conf for this is:
comment = a testing place
path = /home/e-smith/files/ibays/prueba/files
read only = no
writable = yes
printable = no
inherit permissions = yes
create mode = 0664
Two Questions:
Why the additional directories (after ibays)?
Where within the conf file do I insert the text?
-
I can't find my ibays after mounting the new drive and rebooting.
Here's my /etc/fstab:
LABEL=/ / ext2 usrquota,grpquota $
LABEL=/boot /boot ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/sda5 swap swap defaults 0 0
/dev/sdb /home/e-smith/files/ibays ext2 defaults 1 2
but when I try to cd into my ibays dir, bnothing is there. What happened to my old ibays?
How can I transfer them to the new drive?
Thanks