DirectAdmin Partitioning Problem

Knox

New member
Joined
Mar 23, 2011
Messages
5
Hey Guys,

I am new to linux environment.
I have 2 partitions.

1) 18GB - (For CentOS)
2) 200GB - (For Data)

However, when i login to DA web access, i don't see the 200GB partition.
So i SSH in and type in df, this is what i get:

Code:
[root@server ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      13109200   3367992   9064552  28% /
/dev/cciss/c0d0p1       101086     18286     77581  20% /boot
tmpfs                  1037728         0   1037728   0% /dev/shm

On my DA web panel, i see this :
Code:
Filesystem 	Size 	Used 	Avail 	Use% 	Mounted on
tmpfs	1014M	0	1014M	0%	/dev/shm
/dev/mapper/VolGroup00-LogVol00	13G	3.3G	8.7G	28%	/
/dev/cciss/c0d0p1	99M	18M	76M	20%	/boot

When i fdisk -l, i see this :
Code:
[root@server ~]# fdisk -l

Disk /dev/cciss/c0d0: 18.2 GB, 18203197440 bytes
255 heads, 63 sectors/track, 2213 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

           Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1   *           1          13      104391   83  Linux
/dev/cciss/c0d0p2              14        2213    17671500   8e  Linux LVM

Disk /dev/cciss/c0d1: 218.5 GB, 218501038080 bytes
255 heads, 32 sectors/track, 52299 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes

As you can see, there is 218.5Gb but its not in use. How can i make DA use that partition instead? Or how can i mount it and make DA use that partition instead of the 18Gb partition?

I have also tried the "mount" command and i get these results:

Code:
[root@server ~]# mount /dev/cciss/c0d1
mount: can't find /dev/cciss/c0d1 in /etc/fstab or /etc/mtab

I'm not sure if i can just edit the fstab or will it corrupt everything?


Any help is greatly appreciated.
 
You need to create partition(s) on the second device (/dev/cciss/c0d1) firstly. Then you need to mount it, you can use mountpoint /home. Make sure to backup or move existing /home, before mounting the second device.
 
Thanks for the reply.

i'm new to linux.
Can you give me command lines?
Or keywords so i can lookup more on the command
 
You've already used them, but now use them in other way. How to use them, read manuals:

Code:
# man fdisk
# man sfdisk
# man mount

or google for them
 
Hi zEitEr,

Thanks so much for your help.

But i ended up re-installing DirectAdmin from scratch.

This time i removed all partitions.

Thanks
Knox
 
Note that DirectAdmin had nothing to do with your partitioning; it simply uses the partitions that are there. This had to be something done by whomever installed the OS.

Jeff
 
Back
Top