PDA

View Full Version : Debian Etch OS instalation query


ProServ-uk.com
18th August 2007, 21:41
I have just started to install debian etch following falko's how to, once the machine had finnished set up and i logged in as root i did df -h to check my hdd space and it is only showing that i have got 36gb but infact i have got 6 x 36gb, anyone got any advise or ideas ?


Regards rickie

ProServ-uk.com
18th August 2007, 21:49
it seems the issue isnt resolved :(

falko
19th August 2007, 15:44
What's the output of df -h, mount, and fdisk -l?

ProServ-uk.com
19th August 2007, 15:46
ill show you know 2 minutes :)

ProServ-uk.com
19th August 2007, 15:47
server5:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 34G 1.3G 31G 4% /
tmpfs 507M 0 507M 0% /lib/init/rw
udev 10M 52K 10M 1% /dev
tmpfs 507M 0 507M 0% /dev/shm



server5:~# mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro,usrquota,grpquota)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)



server5:~# fdisk -l

Disk /dev/sda: 36.4 GB, 36420075008 bytes
255 heads, 63 sectors/track, 4427 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 4427 35559846 83 Linux

Disk /dev/sdb: 36.4 GB, 36420075008 bytes
255 heads, 63 sectors/track, 4427 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 4427 35559846 5 Extended
/dev/sdb5 1 4427 35559814+ 82 Linux swap / Solaris

Disk /dev/sdc: 36.4 GB, 36420075008 bytes
255 heads, 63 sectors/track, 4427 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 4427 35559846 5 Extended
/dev/sdc5 1 4427 35559814+ 82 Linux swap / Solaris

ProServ-uk.com
19th August 2007, 16:17
right that showed me the hdd's were there does this mean that there all 3 hdds are there ? and it will use all 3 of them or does it mean that there is 3 but it will only use 1 of them ? im confused

falko
20th August 2007, 19:37
The system has recognized all HDDs, but only /dev/sda1 is mounted. You must mount the other partitions as well if you want to use them. Take a look at man mount

If you want to have them mounted automatically when the system boots, you must add new lines for these partitions to /etc/fstab.

ProServ-uk.com
21st August 2007, 15:41
thats the problem with being a newbi to linux i dont know how to do it i guess some googling is in order

ProServ-uk.com
21st August 2007, 15:43
never mind i see what man mount is now ill read that instead of google

sjau
21st August 2007, 17:45
and you can also have a look at /etc/fstab on how your current partition is already mounted... that should also help :)

falko
22nd August 2007, 19:37
Taking a deeper look at your fdisk output again - did you format the additional disks as swap? In that case, you could install GParted and reformat them to ext3, for example, and mount them afterwards.

ProServ-uk.com
23rd August 2007, 01:12
so aslong as they ar ext3 they will be usable by the system ?

koro
23rd August 2007, 10:32
not just ext3, but also other linux partition type such as ext2, reiserfs, etc