[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/


[ilugd] Re: Changing partition size without formatting

2004-12-07 Thread Abhijit Menon-Sen
At 2004-12-08 06:06:21 -, [EMAIL PROTECTED] wrote:

  /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(

You could always move your databases from /usr (where they shouldn't be)
into /var (where they should). Shutdown your server, find your $PGDATA
directory, copy its contents into /var/whatever, and either link the
original directory to the new one, or pass a different -D argument to
the postmaster.

-- ams

___
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/


Re: [ilugd] bootable disk in fedora 2

2004-12-07 Thread Raj Shekhar
K N Jayadevan wrote:
How to create bootable floppy disk in Fedora 2.

I don't have a fedora 2 system at hand right now, but  RedHat 9 systems 
come with a /sbin/mkbootdisk shell script that will guide you through 
the process. It is the part of mkbootdisk package.  I am sure it should 
be available under Fedora too.

Alternatively, you can have a look at the QMkBootDisk, which is a GUI 
frontend for making boot floppies.

--
,-.___,-. Raj Shekhar
\_/_ _\_/ System Administrator, programmer and  slacker
  )O_O(   home : http://rajshekhar.net
 { (_) }  blog : http://rajshekhar.net/blog/
  `-^-'   work : http://netphotograph.com
___
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/


[ilugd] Top / bottom / Inline posting

2004-12-07 Thread Mithun Bhattacharya
I am not hoping to start a relgious war here but I was wondering how
strict should one enforce the idea of bottom or inline posting vs top
posting.

I understand the idea that we should have the complete context in place
but does that really mean I should be forced to bottom post even if I
am giving a two line reply to a two line request ?

My observation is :

1. top post if you are giving a one line reply to a one line request
2. Bottom post if you are replying to a substantially long request and
the complete text is required to understand your reply. Also bottom
post only if your reply is short and answers the whole block.
3. Inline post if you are replying to a posting in parts.


Mithun



__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

___
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/