New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

ETC immage and HD Wd 400

Got problems with Bubba? Then this forum is for you.
Locked
paolol61
Posts: 99
Joined: 20 Nov 2007, 04:18

ETC immage and HD Wd 400

Post by paolol61 »

Hi , got a new 400G WD and switched the old one, to try the new version of OS, all was Ok and is working fine, but I got ONLY 10 Gb of HD :shock: instead of 400 or at list 350
:(
Any idea ???
I will swap the disk to the old one, so no big deal, just want you to know.
Thanks,
paolol
8)
John W
Posts: 62
Joined: 17 Jan 2007, 11:47

Post by John W »

If you are using the "light-image" you'll have to manually format the data-partition on the drive.

Code: Select all

mkfs.ext3 -L "Bubba home" /dev/hda2
tune2fs -c0 -i0 /dev/hda2
And then mount it.

Code: Select all

mount /dev/hda2 /home
You could also add this line to /etc/fstab to have it mounted automaticly at startup.

Code: Select all

/dev/hda2	/home	ext3	noatime,defaults	0	2
pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Post by pa »

Hi,

The web interface only shows the size of the first partition, not both.
In the etch release, the disk is formatted as two partitions in order to be able to reinstall the system without loosing user data.
Only the root partition is shown, not the user partition.

/PA
paolol61
Posts: 99
Joined: 20 Nov 2007, 04:18

Post by paolol61 »

Thanks to both.
So if I mount again the disk I will have a 10Gb partition for the OS 1Gb for swap and the rest will be user ??
If so, how I know how much space I have ?? do I have to change some code in the WEB interface ??
Thanks,
Paolol
pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Post by pa »

Hi,

You should be able to get the size of the user partition by changing in the file "/usr/share/web-admin/index.php". There is a section where "disk_free_space" is called on the "/" partition. If you change this (and the corresponding disk_total_space") to "/home" you should get the correct user space available.

/PA
paolol61
Posts: 99
Joined: 20 Nov 2007, 04:18

Post by paolol61 »

Thanks a lot, I will try on the next weekend :)
8)
paolol61
Posts: 99
Joined: 20 Nov 2007, 04:18

Post by paolol61 »

Thanks it works :)
Now I see
365 163 disk size total
346 417 disk free space

All seem OK :)
I put this on work , hope all will be ok :D
cya
8)
Locked