Koozali.org: home of the SME Server

Hard Drive space

Offline landymas

  • *
  • 13
  • +0/-0
Hard Drive space
« 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?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Hard Drive space
« Reply #1 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?


Offline landymas

  • *
  • 13
  • +0/-0
Re: Hard Drive space
« Reply #2 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>

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Hard Drive space
« Reply #3 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

?


Offline landymas

  • *
  • 13
  • +0/-0
Re: Hard Drive space
« Reply #4 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]#

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Hard Drive space
« Reply #5 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 ?
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline landymas

  • *
  • 13
  • +0/-0
Re: Hard Drive space
« Reply #6 on: November 01, 2007, 09:52:34 PM »
fresh install on new drives and server

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Hard Drive space
« Reply #7 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.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!