Koozali.org: home of the SME Server

additional HDD

Wietse

additional HDD
« on: April 23, 2003, 11:32:43 PM »
Hello,

On my quest to add a secondary HDD into my e-smith 5, I ran into multiple problems, and I am kind of stuck.. I've found a guide (below) that tells me what to do to add a new HDD. Somehow it won't work, maybe anyone here can point out why not??



GUIDE TO ADD SECONDARY HDD:

0. Create an i-bay called "data"
1. Connect HDD to motherboard
2. Login as root through SSH
3. Type: fdisk /dev/hdb
4. Type: d
5. Type: 1
6. Type: d
7. Type: 2
8. Type: d
9. Type: 3
10. Type: d
11. Type: 4
12. Type: w
13. Type: fdisk /dev/hdb
14. Type: n
15. Type: p
16. Type: 1
17. Press Enter twice
18. Type: w
19. Type: mkfs /dev/hdb1
20. Type: fdisk –l /dev/hdb
21. Something like this should appear:
Device boot Start End Blocks Id System
/dev/hdb1 1 787 1586560+ 83 Linux
21. Type: MC
22. Look for the file “fstab” in de dir /etc
23. Press F4 to edit
24. Add this line below "LABEL=/boot"
/dev/hdb1 /home/e-smith/files/ibays/data/files ext2 defaults 1 2
25. Press F2 to save
26. Press F10 twice to exit
27. Type: reboot
28. Login as root through SSH
29. Type: cd ..
30. Typ: cd \home\e-smith\files\ibays\data
31. Typ: chown root.shared files
32. Typ: chmod 0770 files

Now there should be an i-bay that has access to the secondary HDD, but it won't work?!?! Any ideas? Thanks in advance!

Wietse
The Netherlands

Boris

Re: additional HDD
« Reply #1 on: April 24, 2003, 05:29:37 AM »
type  df
to see free space and mounted drives

Wietse

Re: additional HDD
« Reply #2 on: April 24, 2003, 12:43:14 PM »
Weird...

here it says the disk isn't properly mounted:

[root@linux /root]# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda6             29261404  27435532    339460  99% /
/dev/hda1                15522      2628     12093  18% /boot

Any ideas?
Thanks a LOT in advance! I am trying this for two months now :(

Wietse