Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: landymas on October 19, 2007, 01:41:22 PM

Title: Hard Drive space
Post by: landymas on October 19, 2007, 01:41:22 PM
I have a Dell Poweredge Server running SMEServer 7.2 with two 160 GB SATA drives using the Linux RAID 1 confguration from the console. The server only reports about 80 GB available as seen here:

Filesystem                       Size  Used Avail Use% Mounted on

/dev/mapper/main-root      72G   15G   54G  22% /
/dev/md1                        99M   21M   74M  22% /boot
none                              1014M     0 1014M   0% /dev/shm

Is this normal and is there any way to get the server to recognize the full amount?
Title: Re: Hard Drive space
Post by: CharlieBrady on November 01, 2007, 04:28:29 PM
I have a Dell Poweredge Server running SMEServer 7.2 with two 160 GB SATA drives using the Linux RAID 1 confguration from the console. The server only reports about 80 GB available as seen here:

Filesystem                       Size  Used Avail Use% Mounted on

/dev/mapper/main-root      72G   15G   54G  22% /
/dev/md1                        99M   21M   74M  22% /boot
none                              1014M     0 1014M   0% /dev/shm

Is this normal and is there any way to get the server to recognize the full amount?

No it's not normal. What does "cat /proc/mdstat' show?

Title: Re: Hard Drive space
Post by: landymas on November 01, 2007, 06:08:15 PM
It says:
Personalities  :  [raid1]
md2   :   active raid1 sda2[0] sdb2[1]
             78043648 blocks [2/2] [UU]

md1   :   active raid1 sda1[0] sdb1[1]
             104320 blocks [2/2] [UU]

unused devices: <none>
Title: Re: Hard Drive space
Post by: CharlieBrady on November 01, 2007, 08:04:05 PM
It says:
Personalities  :  [raid1]
md2   :   active raid1 sda2[0] sdb2[1]
             78043648 blocks [2/2] [UU]
...

OK, so you do have two hard drives. Are you sure that your drives are 160GB? What says:

fdisk -l /dev/sda
fdisk -l /dev/sdb

?

Title: Re: Hard Drive space
Post by: landymas on November 01, 2007, 08:13:54 PM
[root@smeserver proc]# fdisk -l /dev/sda

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   fd  Linux raid autodetect
/dev/sda2              14       19452   156143767+  fd  Linux raid autodetect
[root@smeserver proc]# fdisk -l /dev/sdb

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104384+  fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sdb2              13       19457   156183967   fd  Linux raid autodetect
[root@smeserver proc]#
Title: Re: Hard Drive space
Post by: byte on November 01, 2007, 09:32:36 PM
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104384+  fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sdb2              13       19457   156183967   fd  Linux raid autodetect
[root@smeserver proc]#

Did the /dev/sdb already have data on i.e windows XP or was it a fresh hard drive ?
Title: Re: Hard Drive space
Post by: landymas on November 01, 2007, 09:52:34 PM
fresh install on new drives and server
Title: Re: Hard Drive space
Post by: byte on November 01, 2007, 10:41:44 PM
OK, can you raise a new bug please as something is not right... Thanks. Please provide hardware details and the results of what you have already done here.