Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #180880

Re: Question about Increasing the size of the Primary Partition

From "Martin McCormick" <martin.m@suddenlink.net>
Newsgroups linux.debian.user
Subject Re: Question about Increasing the size of the Primary Partition
Date 2017-05-09 15:20 +0200
Message-ID <tFddv-2bT-13@gated-at.bofh.it> (permalink)
References <tF1Fo-2Nz-1@gated-at.bofh.it> <tF1YJ-3a7-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Felix Miata <mrmazda@earthlink.net> writes:
> If the original is EXT#, then resize2fs following forced fsck is all it 
> takes,
> no mkfs.

Great news, it's ext4 done last Saturday.

	I had a SSD fail so built the desired on an old 10 GB
Maxtor drive and when it worked, i used dd to save the image,
knowing that it could be resized up anyway.

> 
> Using dd might have been a bad idea, depending on the age of the old 
> disk. If
> the old disk was partitioned long enough ago, it unlikely conformed to the
> technique preferred for disks with 4k internal sectors. If so, doing as 
> you did
> almost certainly will cause a performance penalty with the new.

	One thing I did do that turned out to be a bad idea was
to use dd with the minimum of parameters. The first time, the
image took over 24 hours to copy. I needed to make some more
changes so I blew another image but this time added bs=5000000 so
that it transferred 5-million bytes at a time and the image took
about ten minutes.

	If I had been using two separate disk controllers, the
image might have taken much less time but you fight the war with
the hardware you have rather than what you wish you had.

Thank you and all others who responded. Also I totally forgot
about resize2fs which is what reformats any new space in the file
system. It all worked like it should.

Martin WB5AGZ

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Question about Increasing the size of the Primary Partition "Martin McCormick" <martin.m@suddenlink.net> - 2017-05-09 03:00 +0200
  Re: Question about Increasing the size of the Primary Partition Michael Milliman <michael.e.milliman@gmail.com> - 2017-05-09 03:10 +0200
  Re: Question about Increasing the size of the Primary Partition Felix Miata <mrmazda@earthlink.net> - 2017-05-09 03:20 +0200
    Re: Question about Increasing the size of the Primary Partition "Martin McCormick" <martin.m@suddenlink.net> - 2017-05-09 15:20 +0200

csiph-web