Resizing partitions on production environment

View: New views
8 Messages — Rating Filter:   Alert me  

Resizing partitions on production environment

by Daniel Suleyman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Dear all, i have big issues.
I've installed lenny on my server, installed all programs and ran it on production, ut now i need to install oracle on it.
My artitions have sizes
user:~# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p1 327M 141M 170M 46% /
tmpfs 5.9G 0 5.9G 0% /lib/init/rw
udev 10M 104K 9.9M 2% /dev
tmpfs 5.9G 0 5.9G 0% /dev/shm
/dev/cciss/c0d0p9 80G 42G 35G 56% /home
/dev/cciss/c0d0p8 373M 11M 343M 3% /tmp
/dev/cciss/c0d0p5 4.6G 1.6G 2.9G 36% /usr
/dev/cciss/c0d0p6 2.8G 1.2G 1.5G 45% /var

and oracle wont install becouse my root partition have less size that oracle need. how I an resize my partitions on fly? or at least from livecd but with guaranteed no data losses.
Thank you in advance,
Daniel


Re: Resizing partitions on production environment

by Suno Ano-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If the filesystem allows for it, you can do it online. There, in line
389, is an example of howto grow xfs:

http://sunoano.name/ws/public_xhtml/lvm.html#resizing_volumes




attachment0 (850 bytes) Download Attachment

Re: Resizing partitions on production environment

by Daniel Suleyman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

sorry forgot to cat fstab
user:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/cciss/c0d0p1 / ext3 errors=remount-ro 0 1
/dev/cciss/c0d0p9 /home ext3 defaults 0 2
/dev/cciss/c0d0p8 /tmp ext3 defaults 0 2
/dev/cciss/c0d0p5 /usr ext3 defaults 0 2
/dev/cciss/c0d0p6 /var ext3 defaults 0 2
/dev/cciss/c0d0p7 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0



2009/7/8 Suno Ano <suno.ano@...>
If the filesystem allows for it, you can do it online. There, in line
389, is an example of howto grow xfs:

http://sunoano.name/ws/public_xhtml/lvm.html#resizing_volumes




Re: Resizing partitions on production environment

by Paul Csanyi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Suleyman <danikpro@...> writes:

> Dear all, i have big issues.
> I've installed lenny on my server, installed all programs and ran it
> on production, ut now i need to install oracle on it.

> and oracle wont install becouse my root partition have less size
> that oracle need. how I an resize my partitions on fly? or at least
> from livecd but with guaranteed no data losses.

You can try gparted.

http://gparted.sourceforge.net

You can download GParted Live on CD there too.

--
Regards, Paul Chany


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Resizing partitions on production environment

by lee-25 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 08, 2009 at 10:42:14AM +0500, Daniel Suleyman wrote:

> and oracle wont install becouse my root partition have less size
> that oracle need. how I an resize my partitions on fly? or at least
> from livecd but with guaranteed no data losses.  Thank you in
> advance, Daniel

In any case, make a backup before you try anything. I probably won't
try but repartition the disk(s) or add another disk and move / to the
new disk. When you have the needed backup, you can as well
repartition.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Resizing partitions on production environment

by Noah Dain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 8, 2009 at 3:38 PM, lee<lee@...> wrote:
> On Wed, Jul 08, 2009 at 10:42:14AM +0500, Daniel Suleyman wrote:
>
>> and oracle wont install becouse my root partition have less size
>> that oracle need. how I an resize my partitions on fly? or at least
>> from livecd but with guaranteed no data losses.  Thank you in
>> advance, Daniel

Oracle *probably* just wants to install to /opt.  If it's possible,
you could create a new filesystem and mount it as /opt.

>
> In any case, make a backup before you try anything. I probably won't
> try but repartition the disk(s) or add another disk and move / to the
> new disk. When you have the needed backup, you can as well
> repartition.

++

> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@...
> with a subject of "unsubscribe". Trouble? Contact listmaster@...
>
>



--
Noah Dain
"The beatings will continue, until morale improves" - the Management


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Resizing partitions on production environment

by Daniel Suleyman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok, Ihave hardware raid, it make my life dificult or it will be transparent to the OS?
I am installing oracle-xe-universal from sources.list it give me error no spce for /etc/dp?? (don't remember dir)
I changed dpkg options setting instdir to /home/  but after oracle package outputed error cant find pre install script and post install script :(

2009/7/9 Noah Dain <noahdain@...>
On Wed, Jul 8, 2009 at 3:38 PM, lee<lee@...> wrote:
> On Wed, Jul 08, 2009 at 10:42:14AM +0500, Daniel Suleyman wrote:
>
>> and oracle wont install becouse my root partition have less size
>> that oracle need. how I an resize my partitions on fly? or at least
>> from livecd but with guaranteed no data losses.  Thank you in
>> advance, Daniel

Oracle *probably* just wants to install to /opt.  If it's possible,
you could create a new filesystem and mount it as /opt.

>
> In any case, make a backup before you try anything. I probably won't
> try but repartition the disk(s) or add another disk and move / to the
> new disk. When you have the needed backup, you can as well
> repartition.

++

> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@...
> with a subject of "unsubscribe". Trouble? Contact listmaster@...
>
>



--
Noah Dain
"The beatings will continue, until morale improves" - the Management


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...



Re: Resizing partitions on production environment

by Rob Owens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 08, 2009 at 10:42:14AM +0500, Daniel Suleyman wrote:

> Dear all, i have big issues.
> I've installed lenny on my server, installed all programs and ran it on
> production, ut now i need to install oracle on it.
> My artitions have sizes
> user:~# df -kh
> Filesystem Size Used Avail Use% Mounted on
> /dev/cciss/c0d0p1 327M 141M 170M 46% /
> tmpfs 5.9G 0 5.9G 0% /lib/init/rw
> udev 10M 104K 9.9M 2% /dev
> tmpfs 5.9G 0 5.9G 0% /dev/shm
> /dev/cciss/c0d0p9 80G 42G 35G 56% /home
> /dev/cciss/c0d0p8 373M 11M 343M 3% /tmp
> /dev/cciss/c0d0p5 4.6G 1.6G 2.9G 36% /usr
> /dev/cciss/c0d0p6 2.8G 1.2G 1.5G 45% /var
>
> and oracle wont install becouse my root partition have less size that oracle
> need. how I an resize my partitions on fly? or at least from livecd but with
> guaranteed no data losses.
> Thank you in advance,
> Daniel

I've done this in the past when in a bind:

If oracle wants to install to /opt/oracle, "mkdir /home/oracle" and then "ln -s /home/oracle /opt/oracle"

This will put the oracle stuff in the /home partition.

-Rob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...