[ilugd] Changing partition size without formatting

2004-12-07 Thread Gurpreet Sachdeva
  
Hey Guys,
I installed postgres in our linux server. I didn't see the partion size 
of /usr. It is just 7 GB and rest 73 GB is spare in /var.

How can I give a part of /var to /usr without formatting both of them?

Thanks and Regards,

Cheers!


«·´`·.(*·.¸(`·.¸ ¸.·´)¸.·*).·´`·» 

  «.[ Garry ].» 

«·´`·.(¸.·*(¸.·´ `·.¸)*·.¸).·´`·» 

Check for free gifts (at your own risk): 
http://www.tech4free.com/default.aspx?ref=33328
___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Changing partition size without formatting

2004-12-07 Thread Raj Mathur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Gurpreet == Gurpreet Sachdeva [EMAIL PROTECTED] writes:

Gurpreet    Hey Guys, I installed postgres in our linux server. I
Gurpreet didn't see the partion size of /usr. It is just 7 GB and
Gurpreet rest 73 GB is spare in /var.

Gurpreet How can I give a part of /var to /usr without formatting
Gurpreet both of them?

If PgSQL is going to be your main application, leave /var with the
huge disk space.  7GB for /usr is fine, since /usr doesn't grow
significantly after installation and setup; /var, however, holds the
databases and is likely to expand with time.

Regards,

- -- Raju
- -- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
  It is the mind that moves
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iD8DBQFBtpPcyWjQ78xo0X8RAtNOAJ94P6xaFMlOBluR8tjV2I3r9c5ObQCfUzKc
FyG/Zgl6irTUyAVOQewp9o8=
=W3Pw
-END PGP SIGNATURE-

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Changing partition size without formatting

2004-12-07 Thread bimal pandit
On Wed, 2004-12-08 at 10:37, Gurpreet Sachdeva wrote:
   
 Hey Guys,
 I installed postgres in our linux server. I didn't see the partion 
 size of /usr. It is just 7 GB and rest 73 GB is spare in /var.
 
 How can I give a part of /var to /usr without formatting both of them?
 

Dear Sir,

please find an excellent tool

Ultimate Boot CD (Full) so download ISO image which is 172MB  from
http://ubcd.sourceforge.net/download.html

the package is available in two flavours

1)Basic and is of around 60MB

2)Full and is of 172MB

the site url is http://www.ultimatebootcd.com

also you can look for qpartd

http://qtparted.sourceforge.net/

regards,

Bimal Pandit


___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: Re: [ilugd] Changing partition size without formatting

2004-12-07 Thread Gurpreet Sachdeva
If PgSQL is going to be your main application, leave /var with the
huge disk space.  7GB for /usr is fine, since /usr doesn't grow
significantly after installation and setup; /var, however, holds the
databases and is likely to expand with time.

If that is the case, I shouldn't have got such an error :o(

[Error]
File C:\installs\PYTHON23\lib\site-packages\pyPgSQL\PgSQL.py, line 3072, in 
execute
libpq.OperationalError: ERROR:  cannot extend [Table Name]: No space left on 
device.
Check free disk space.
[/Error]

And as soon as I got that, the first command I issued was:

[EMAIL PROTECTED] var]# df -kh
FilesystemSize  Used Avail Use% Mounted on
/dev/hda7 4.9G  301M  4.3G   7% /
/dev/hda1 4.9G   52M  4.6G   2% /boot
/dev/hda3 9.7G  178M  9.0G   2% /home
/dev/hda2  42G  532M   39G   2% /opt
none  999M 0  999M   0% /dev/shm
/dev/hda6 5.8G  5.5G   63M  99% /usr
/dev/hdc1  73G  543M   69G   1% /var

The installation was done as per the guidelines given by postgres documents and 
no tweak/manipulations were done.

Please suggest me if I am wrong or have done a mistake and how can I rectify 
that.

Thanks and Regards,


Cheers!


«·´`·.(*·.¸(`·.¸ ¸.·´)¸.·*).·´`·» 

  «.[ Garry ].» 

«·´`·.(¸.·*(¸.·´ `·.¸)*·.¸).·´`·» 

Check for free gifts (at your own risk): 
http://www.tech4free.com/default.aspx?ref=33328
___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: Re: [ilugd] Changing partition size without formatting

2004-12-07 Thread Raj Mathur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Gurpreet == Gurpreet Sachdeva [EMAIL PROTECTED] writes:

 If PgSQL is going to be your main application, leave /var with
 the huge disk space.  7GB for /usr is fine, since /usr doesn't
 grow significantly after installation and setup; /var, however,
 holds the databases and is likely to expand with time.

Gurpreet If that is the case, I shouldn't have got such an error
Gurpreet :o(

Gurpreet [Error] File
Gurpreet C:\installs\PYTHON23\lib\site-packages\pyPgSQL\PgSQL.py,
Gurpreet line 3072, in execute libpq.OperationalError: ERROR:
Gurpreet cannot extend [Table Name]: No space left on device.
Gurpreet Check free disk space.  [/Error]

The problem seems to be that you're running Windows while checking
disk space on Linux :)

- -- Raju
- -- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
  It is the mind that moves
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iD8DBQFBtqoZyWjQ78xo0X8RAvB9AJ4yfbsUTiPxA5YCzImMJCcnBmepdgCfSKsI
2XV9RPqPa5RnsSkmjpHHc1o=
=ykv7
-END PGP SIGNATURE-

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/