Re: adding new hard disk

2004-01-05 Thread Craig Genner
On Monday 05 Jan 2004 5:44 am, panda wrote:
> Lou Losee wrote:
> Actually her question brings up an interesting point. Suppose this
> needed to be done in a big corporation where it is necessary to maintain
> some level of service and the question of scalability is a very
> important one.
>
> They would prefer some means of doing the same adding disks to the
> system to allow for greater storage with minimal disruption. It would be
> really costly if they had to resort to something like copy everything
> and then resize.

(Just in case any one else hasn't answered)

This is where LVM comes in.  Logical Volume Manager adds a layer between the 
physical hard disk and the file system.  For more detailed information I 
would suggest you read the HOWTO here: 
http://www.tldp.org/HOWTO/LVM-HOWTO/index.html

If LVM were used then the only down time would be when the machine was 
actually turned off and the new hard drive was added.  Once that's done it's 
quite quick when compared to moving the data across to put the new disk into 
use.

Once again I suggest the HOWTO as it explains it much better then me :-)

I use LVM at home and when I run out of space on one partition I just more 
from the spare space on another partition.

Craig


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re: adding new hard disk

2004-01-05 Thread Anita Rohani

Thanks, you guys! It was my first time posting a
question on this maling list...and what an
overwhelming response :)!

Yeah, i also confirmed from one of my co-workers (an
ardent follower of Debian) that there is no way to
extend the partitions unless the current disk was
setup using "logical volume" management; which in our
case it is not. ok so i would have to look into your
various suggestions. hopefully i will have a success
story to recount pretty soon :)

/Anita 

__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-05 Thread Monique Y. Herman
On Mon, 05 Jan 2004 at 18:41 GMT, Travis Crump penned:
> Monique Y. Herman wrote:
>> On Mon, 05 Jan 2004 at 12:51 GMT, Paul Morgan penned:
>>>
>>>cp -ax
>> 
>> Okay, having read the man pages, I'm not sure how this does more than
>> the -d option that -a includes.  -a already stops you from following
>> symlinks ... maybe I'm just being dense, but what additional
>> situations does the -x cover?
>> 
> 
> Say you have /usr, /tmp, /var, and /home  mounted on seperate
> partitions and you want to move just the root partition to a new
> partition.  you can do 'cp -ax / /mnt/newroot'.  If you were to do
> just 'cp -a / /mnt/newroot', the contents of /usr, /tmp, /var, and
> /home would be copied to the new partition as well.
> 

Doh!  Sure enough, I was being dense.
Thanks for the clarification!

-- 
monique


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-05 Thread Travis Crump
Monique Y. Herman wrote:
On Mon, 05 Jan 2004 at 12:51 GMT, Paul Morgan penned:

On Sun, 04 Jan 2004 23:09:31 -0700, Monique Y. Herman wrote:


On Mon, 05 Jan 2004 at 06:59 GMT, [EMAIL PROTECTED] penned:

On Sun, Jan 04, 2004 at 08:07:30PM -0800, Anita Rohani wrote:

Hi

A few hard disk partitions on our current Debian system are close
to becoming full. I would like to install an addtional hard disk
and extend the partitions on the current disk to the new disk. Is
it possible to do so and are there any instructions avaliable on
how to add and configure additional hard disks on Debian?
check the archives. i got a lot of good help recently on migrating a
partition. the course i chose was a mixture of tips. your ideal
solution might be other that mine. search the archives for partition
migration.
essentially, create a filesystem on the new disk, set up a mount
point, mount it, cp -r the data, edit fstab to reflect the new
arrangement.  don't delete the original until you're sure the new
partition is extant.
You most likely want cp -a rather than cp -r.
cp -ax



Okay, having read the man pages, I'm not sure how this does more than
the -d option that -a includes.  -a already stops you from following
symlinks ... maybe I'm just being dense, but what additional situations
does the -x cover?
Say you have /usr, /tmp, /var, and /home  mounted on seperate partitions 
and you want to move just the root partition to a new partition.  you 
can do 'cp -ax / /mnt/newroot'.  If you were to do just 'cp -a / 
/mnt/newroot', the contents of /usr, /tmp, /var, and /home would be 
copied to the new partition as well.


pgp0.pgp
Description: PGP signature


Re: adding new hard disk

2004-01-05 Thread linux
Citát Colin Watson <[EMAIL PROTECTED]>:

> On Mon, Jan 05, 2004 at 01:46:14AM -0500, [EMAIL PROTECTED] wrote:
> > Citát Lou Losee <[EMAIL PROTECTED]>:
> > > * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2004-01-05
> 01:32]:
> > > 
> > > > BTW... excuse mu ignorancy can you explain to me what LVM is and
> > > > how it works?
> > > 
> > > http://www.linux.org/docs/ldp/howto/LVM-HOWTO.index.html
> > 
> > sorry Lou but man does not wrk on my Winshit and Deb is down after
> > recompiling the kernel. :(
> 
> For future reference, always keep a backup kernel that your boot loader
> knows how to start ...
> 
Well, I guess I will have to learn it the hard way ...I am a newbie.
:) CAn`t you tell?
> -- 
> Colin Watson  [EMAIL PROTECTED]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-05 Thread Monique Y. Herman
On Mon, 05 Jan 2004 at 12:51 GMT, Paul Morgan penned:
> On Sun, 04 Jan 2004 23:09:31 -0700, Monique Y. Herman wrote:
> 
>> On Mon, 05 Jan 2004 at 06:59 GMT, [EMAIL PROTECTED] penned:
>>> On Sun, Jan 04, 2004 at 08:07:30PM -0800, Anita Rohani wrote:
 Hi
 
 A few hard disk partitions on our current Debian system are close
 to becoming full. I would like to install an addtional hard disk
 and extend the partitions on the current disk to the new disk. Is
 it possible to do so and are there any instructions avaliable on
 how to add and configure additional hard disks on Debian?
 
>>> check the archives. i got a lot of good help recently on migrating a
>>> partition. the course i chose was a mixture of tips. your ideal
>>> solution might be other that mine. search the archives for partition
>>> migration.
>>> 
>>> essentially, create a filesystem on the new disk, set up a mount
>>> point, mount it, cp -r the data, edit fstab to reflect the new
>>> arrangement.  don't delete the original until you're sure the new
>>> partition is extant.
>>> 
>> 
>> You most likely want cp -a rather than cp -r.
> 
> cp -ax
> 

Okay, having read the man pages, I'm not sure how this does more than
the -d option that -a includes.  -a already stops you from following
symlinks ... maybe I'm just being dense, but what additional situations
does the -x cover?

-- 
monique


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-05 Thread Paul Morgan
On Sun, 04 Jan 2004 23:09:31 -0700, Monique Y. Herman wrote:

> On Mon, 05 Jan 2004 at 06:59 GMT, [EMAIL PROTECTED] penned:
>> On Sun, Jan 04, 2004 at 08:07:30PM -0800, Anita Rohani wrote:
>>> Hi
>>> 
>>> A few hard disk partitions on our current Debian system are close to
>>> becoming full. I would like to install an addtional hard disk and
>>> extend the partitions on the current disk to the new disk. Is it
>>> possible to do so and are there any instructions avaliable on how to
>>> add and configure additional hard disks on Debian?
>>> 
>> check the archives. i got a lot of good help recently on migrating a
>> partition. the course i chose was a mixture of tips. your ideal
>> solution might be other that mine. search the archives for partition
>> migration.
>> 
>> essentially, create a filesystem on the new disk, set up a mount
>> point, mount it, cp -r the data, edit fstab to reflect the new
>> arrangement.  don't delete the original until you're sure the new
>> partition is extant.
>> 
> 
> You most likely want cp -a rather than cp -r.

cp -ax

-- 
paul

Programming without a hex editor is like watchmaking without a hammer.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-05 Thread Colin Watson
On Mon, Jan 05, 2004 at 01:46:14AM -0500, [EMAIL PROTECTED] wrote:
> Citát Lou Losee <[EMAIL PROTECTED]>:
> > * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2004-01-05 01:32]:
> > 
> > > BTW... excuse mu ignorancy can you explain to me what LVM is and
> > > how it works?
> > 
> > http://www.linux.org/docs/ldp/howto/LVM-HOWTO.index.html
> 
> sorry Lou but man does not wrk on my Winshit and Deb is down after
> recompiling the kernel. :(

For future reference, always keep a backup kernel that your boot loader
knows how to start ...

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-05 Thread panda
Travis Crump wrote:

panda wrote:


Hi

Actually her question brings up an interesting point. Suppose this 
needed to be done in a big corporation where it is necessary to 
maintain some level of service and the question of scalability is a 
very important one.

They would prefer some means of doing the same adding disks to the 
system to allow for greater storage with minimal disruption. It would 
be really costly if they had to resort to something like copy 
everything and then resize.

That is what LVM is for.[This wouldn't help OP, because her existing 
partitions would need to already be LVM for this to help her]
HI Travis,

thanks a lot I didn't know about LVM :-)

panda

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-05 Thread linux
Citát Lou Losee <[EMAIL PROTECTED]>:

> * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2004-01-05 01:52]:
>  
> > sorry Lou but man does not wrk on my Winshit and Deb is down after
> recompiling
> > the kernel. :(
> 
> You can view man pages online at:
> 
> http://man.linuxquestions.org
> 
> Lou
> 
Thanx, hope that I get My deb back on feet soon again. :)
ed.
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-05 Thread Lou Losee
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2004-01-05 01:52]:
 
> sorry Lou but man does not wrk on my Winshit and Deb is down after recompiling
> the kernel. :(

You can view man pages online at:

http://man.linuxquestions.org

Lou


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread linux
Citát Lou Losee <[EMAIL PROTECTED]>:

> * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2004-01-05 01:32]:
> 
> > 
> > BTW... excuse mu ignorancy can you explain to me what LVM is and how it
> works?
> > thax ed.
> 
> http://www.linux.org/docs/ldp/howto/LVM-HOWTO.index.html
> 
> Lou
> 

sorry Lou but man does not wrk on my Winshit and Deb is down after recompiling
the kernel. :(
ed.
Thanx I will read the link.
> -- 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread ben_foley
On Sun, Jan 04, 2004 at 11:09:31PM -0700, Monique Y. Herman wrote:
> On Mon, 05 Jan 2004 at 06:59 GMT, [EMAIL PROTECTED] penned:
> > On Sun, Jan 04, 2004 at 08:07:30PM -0800, Anita Rohani wrote:
> >> Hi
> >> 
> >> A few hard disk partitions on our current Debian system are close to
> >> becoming full. I would like to install an addtional hard disk and
> >> extend the partitions on the current disk to the new disk. Is it
> >> possible to do so and are there any instructions avaliable on how to
> >> add and configure additional hard disks on Debian?
> >> 
> > check the archives. i got a lot of good help recently on migrating a
> > partition. the course i chose was a mixture of tips. your ideal
> > solution might be other that mine. search the archives for partition
> > migration.
> > 
> > essentially, create a filesystem on the new disk, set up a mount
> > point, mount it, cp -r the data, edit fstab to reflect the new
> > arrangement.  don't delete the original until you're sure the new
> > partition is extant.
> > 
> 
> You most likely want cp -a rather than cp -r.
>

yup. you're right. just checked the notes.

ben


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread Lou Losee
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2004-01-05 01:32]:

> 
> BTW... excuse mu ignorancy can you explain to me what LVM is and how it works?
> thax ed.

http://www.linux.org/docs/ldp/howto/LVM-HOWTO.index.html

Lou


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread Lou Losee
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2004-01-05 01:32]:


> > 
> > You most likely want cp -a rather than cp -r.
> > 
> What is the difference between -a and -r
> ed.

man cp

Lou


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread linux
Citát "Monique Y. Herman" <[EMAIL PROTECTED]>:

> On Mon, 05 Jan 2004 at 06:59 GMT, [EMAIL PROTECTED] penned:
> > On Sun, Jan 04, 2004 at 08:07:30PM -0800, Anita Rohani wrote:
> >> Hi
> >> 
> >> A few hard disk partitions on our current Debian system are close to
> >> becoming full. I would like to install an addtional hard disk and
> >> extend the partitions on the current disk to the new disk. Is it
> >> possible to do so and are there any instructions avaliable on how to
> >> add and configure additional hard disks on Debian?
> >> 
> > check the archives. i got a lot of good help recently on migrating a
> > partition. the course i chose was a mixture of tips. your ideal
> > solution might be other that mine. search the archives for partition
> > migration.
> > 
> > essentially, create a filesystem on the new disk, set up a mount
> > point, mount it, cp -r the data, edit fstab to reflect the new
> > arrangement.  don't delete the original until you're sure the new
> > partition is extant.
> > 
> 
> You most likely want cp -a rather than cp -r.
> 
What is the difference between -a and -r
ed.
> -- 
> monique
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread linux
Citát Travis Crump <[EMAIL PROTECTED]>:

> panda wrote:
> >>
> > Hi
> > 
> > Actually her question brings up an interesting point. Suppose this 
> > needed to be done in a big corporation where it is necessary to maintain 
> > some level of service and the question of scalability is a very 
> > important one.
> > 
> > They would prefer some means of doing the same adding disks to the 
> > system to allow for greater storage with minimal disruption. It would be 
> > really costly if they had to resort to something like copy everything 
> > and then resize.
> > 
> 
> That is what LVM is for.[This wouldn't help OP, because her existing 
> partitions would need to already be LVM for this to help her]
> 
BTW... excuse mu ignorancy can you explain to me what LVM is and how it works?
thax ed.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread linux
Citát Travis Crump <[EMAIL PROTECTED]>:

> panda wrote:
> >>
> > Hi
> > 
> > Actually her question brings up an interesting point. Suppose this 
> > needed to be done in a big corporation where it is necessary to maintain 
> > some level of service and the question of scalability is a very 
> > important one.
> > 
> > They would prefer some means of doing the same adding disks to the 
> > system to allow for greater storage with minimal disruption. It would be 
> > really costly if they had to resort to something like copy everything 
> > and then resize.
> > 
> 
> That is what LVM is for.[This wouldn't help OP, because her existing 
> partitions would need to already be LVM for this to help her]
> 
BTW... excuse mu ignorancy can you explain to me what LVM is and how it works?
thax ed.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread linux
Citát Travis Crump <[EMAIL PROTECTED]>:

> panda wrote:
> >>
> > Hi
> > 
> > Actually her question brings up an interesting point. Suppose this 
> > needed to be done in a big corporation where it is necessary to maintain 
> > some level of service and the question of scalability is a very 
> > important one.
> > 
> > They would prefer some means of doing the same adding disks to the 
> > system to allow for greater storage with minimal disruption. It would be 
> > really costly if they had to resort to something like copy everything 
> > and then resize.
> > 
> 
> That is what LVM is for.[This wouldn't help OP, because her existing 
> partitions would need to already be LVM for this to help her]
> 
BTW... excuse mu ignorancy can you explain to me what LVM is and how it works?
thax ed.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread linux
Citát Travis Crump <[EMAIL PROTECTED]>:

> panda wrote:
> >>
> > Hi
> > 
> > Actually her question brings up an interesting point. Suppose this 
> > needed to be done in a big corporation where it is necessary to maintain 
> > some level of service and the question of scalability is a very 
> > important one.
> > 
> > They would prefer some means of doing the same adding disks to the 
> > system to allow for greater storage with minimal disruption. It would be 
> > really costly if they had to resort to something like copy everything 
> > and then resize.
> > 
> 
> That is what LVM is for.[This wouldn't help OP, because her existing 
> partitions would need to already be LVM for this to help her]
> 
BTW... excuse mu ignorancy can you explain to me what LVM is and how it works?
thax ed.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread linux
Citát Travis Crump <[EMAIL PROTECTED]>:

> panda wrote:
> >>
> > Hi
> > 
> > Actually her question brings up an interesting point. Suppose this 
> > needed to be done in a big corporation where it is necessary to maintain 
> > some level of service and the question of scalability is a very 
> > important one.
> > 
> > They would prefer some means of doing the same adding disks to the 
> > system to allow for greater storage with minimal disruption. It would be 
> > really costly if they had to resort to something like copy everything 
> > and then resize.
> > 
> 
> That is what LVM is for.[This wouldn't help OP, because her existing 
> partitions would need to already be LVM for this to help her]
> 
BTW... excuse mu ignorancy can you explain to me what LVM is and how it works?
thax ed.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread Monique Y. Herman
On Mon, 05 Jan 2004 at 06:59 GMT, [EMAIL PROTECTED] penned:
> On Sun, Jan 04, 2004 at 08:07:30PM -0800, Anita Rohani wrote:
>> Hi
>> 
>> A few hard disk partitions on our current Debian system are close to
>> becoming full. I would like to install an addtional hard disk and
>> extend the partitions on the current disk to the new disk. Is it
>> possible to do so and are there any instructions avaliable on how to
>> add and configure additional hard disks on Debian?
>> 
> check the archives. i got a lot of good help recently on migrating a
> partition. the course i chose was a mixture of tips. your ideal
> solution might be other that mine. search the archives for partition
> migration.
> 
> essentially, create a filesystem on the new disk, set up a mount
> point, mount it, cp -r the data, edit fstab to reflect the new
> arrangement.  don't delete the original until you're sure the new
> partition is extant.
> 

You most likely want cp -a rather than cp -r.

-- 
monique


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread Brett Carrington
On Sun, Jan 04, 2004 at 09:44:55PM -0800, panda wrote:
> Lou Losee wrote:
> 
> >Hi Anita,
> >
> >* Anita Rohani <[EMAIL PROTECTED]> [2004-01-04 23:30]:
> > 
> >
> >>Hi
> >>
> >>A few hard disk partitions on our current Debian
> >>system are close to becoming full. I would like to
> >>install an addtional hard disk and extend the
> >>partitions on the current disk to the new disk. Is it
> >>possible to do so and are there any instructions
> >>avaliable on how to add and configure additional hard
> >>disks on Debian?
> >>
> >>   
> >>
> >I do not think you can actually extend the existing partitions - that is
> >make them span the old and the new disks.  However. you can install the
> >new disk, use fdisk to create partitons on it and then move the data
> >from some of the existing partitions to the new disk.  Then you can
> >mount the new partitons.
> >
> >This way you could, for instance, create a larger /home or /var or /usr
> >etc. on the new disk to replace the partitons on the old disk.  Once
> >this is done, you could delete the old partions and use a tool such as
> >parted or QTparted to resize the partitions on the old disk and make
> >them larger also.
> >
> >HTH
> >
> >Lou
> >
> >
> > 
> >
> Hi
> 
> Actually her question brings up an interesting point. Suppose this 
> needed to be done in a big corporation where it is necessary to maintain 
> some level of service and the question of scalability is a very 
> important one.
> 
> They would prefer some means of doing the same adding disks to the 
> system to allow for greater storage with minimal disruption. It would be 
> really costly if they had to resort to something like copy everything 
> and then resize.
> 
>

Couldn't something like RAID spanning being used? I think this would be
overkill for a big corporation's goal of 'scalability' though. (At least
for client desktops.)


signature.asc
Description: Digital signature


Re: adding new hard disk

2004-01-04 Thread Travis Crump
panda wrote:

Hi

Actually her question brings up an interesting point. Suppose this 
needed to be done in a big corporation where it is necessary to maintain 
some level of service and the question of scalability is a very 
important one.

They would prefer some means of doing the same adding disks to the 
system to allow for greater storage with minimal disruption. It would be 
really costly if they had to resort to something like copy everything 
and then resize.

That is what LVM is for.[This wouldn't help OP, because her existing 
partitions would need to already be LVM for this to help her]


pgp0.pgp
Description: PGP signature


Re: adding new hard disk

2004-01-04 Thread ben_foley
On Sun, Jan 04, 2004 at 08:07:30PM -0800, Anita Rohani wrote:
> Hi
> 
> A few hard disk partitions on our current Debian
> system are close to becoming full. I would like to
> install an addtional hard disk and extend the
> partitions on the current disk to the new disk. Is it
> possible to do so and are there any instructions
> avaliable on how to add and configure additional hard
> disks on Debian?
> 
check the archives. i got a lot of good help recently on migrating a
partition. the course i chose was a mixture of tips. your ideal
solution might be other that mine. search the archives for partition migration.

essentially, create a filesystem on the new disk, set up a mount point,
mount it, cp -r the data, edit fstab to reflect the new arrangement.
don't delete the original until you're sure the new partition is extant.

ben


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread panda
Lou Losee wrote:

Hi Anita,

* Anita Rohani <[EMAIL PROTECTED]> [2004-01-04 23:30]:
 

Hi

A few hard disk partitions on our current Debian
system are close to becoming full. I would like to
install an addtional hard disk and extend the
partitions on the current disk to the new disk. Is it
possible to do so and are there any instructions
avaliable on how to add and configure additional hard
disks on Debian?
   

I do not think you can actually extend the existing partitions - that is
make them span the old and the new disks.  However. you can install the
new disk, use fdisk to create partitons on it and then move the data
from some of the existing partitions to the new disk.  Then you can
mount the new partitons.
This way you could, for instance, create a larger /home or /var or /usr
etc. on the new disk to replace the partitons on the old disk.  Once
this is done, you could delete the old partions and use a tool such as
parted or QTparted to resize the partitions on the old disk and make
them larger also.
HTH

Lou

 

Hi

Actually her question brings up an interesting point. Suppose this 
needed to be done in a big corporation where it is necessary to maintain 
some level of service and the question of scalability is a very 
important one.

They would prefer some means of doing the same adding disks to the 
system to allow for greater storage with minimal disruption. It would be 
really costly if they had to resort to something like copy everything 
and then resize.

panda



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding new hard disk

2004-01-04 Thread Lou Losee
Hi Anita,

* Anita Rohani <[EMAIL PROTECTED]> [2004-01-04 23:30]:
> Hi
> 
> A few hard disk partitions on our current Debian
> system are close to becoming full. I would like to
> install an addtional hard disk and extend the
> partitions on the current disk to the new disk. Is it
> possible to do so and are there any instructions
> avaliable on how to add and configure additional hard
> disks on Debian?
> 
I do not think you can actually extend the existing partitions - that is
make them span the old and the new disks.  However. you can install the
new disk, use fdisk to create partitons on it and then move the data
from some of the existing partitions to the new disk.  Then you can
mount the new partitons.

This way you could, for instance, create a larger /home or /var or /usr
etc. on the new disk to replace the partitons on the old disk.  Once
this is done, you could delete the old partions and use a tool such as
parted or QTparted to resize the partitions on the old disk and make
them larger also.

HTH

Lou


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



adding new hard disk

2004-01-04 Thread Anita Rohani
Hi

A few hard disk partitions on our current Debian
system are close to becoming full. I would like to
install an addtional hard disk and extend the
partitions on the current disk to the new disk. Is it
possible to do so and are there any instructions
avaliable on how to add and configure additional hard
disks on Debian?

Thanks
Anita


__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]