[CentOS] bare-metal backup before update--options?

2019-02-11 Thread Fred Smith
Hi all!

I'm a "nervous nellie", I have not yet updated my 7.5 desktop to 7.6
because (1) it has an Nvidia card, and (2) I've heard of problems
upgrading on top of software RAID (using RAID1 with 2 drives).

I need to upgrade it to stay secure, and I want to do a bare-metal backup
first (so I can put it all back as it now is, in case it explodes in my
face), so I'm trying to figure out the safest way to do that. Here are
the choices as I see them, I'd appreciate comments/thoughts:

1. boot from live DVD and manually reassemble the RAID array (how 
would I do that?)
2. degrade the array (with appropriate commands) so that it is running
on just one drive, then boot a live DVD and use dd to back up that drive.
3. Other choices you can suggest?

then after successfully getting a bare-metal backup, reboot it with the
full RAID array and run the update.

Thanks in advance!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
  it with justice and righteousness from that time on and forever."
--- Isaiah 9:7 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bare-metal backup before update--options?

2019-02-11 Thread Mike Burger

Hi, Fred,

On 2019-02-11 10:04, Fred Smith wrote:

Hi all!

I'm a "nervous nellie", I have not yet updated my 7.5 desktop to 7.6
because (1) it has an Nvidia card, and (2) I've heard of problems
upgrading on top of software RAID (using RAID1 with 2 drives).

I need to upgrade it to stay secure, and I want to do a bare-metal 
backup

first (so I can put it all back as it now is, in case it explodes in my
face), so I'm trying to figure out the safest way to do that. Here are
the choices as I see them, I'd appreciate comments/thoughts:

1. boot from live DVD and manually reassemble the RAID array (how
would I do that?)
2. degrade the array (with appropriate commands) so that it is running
on just one drive, then boot a live DVD and use dd to back up that 
drive.

3. Other choices you can suggest?

then after successfully getting a bare-metal backup, reboot it with the
full RAID array and run the update.

Thanks in advance!


I've been a big fan of Mondo Rescue. http://www.mondorescue.org/

--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever 
just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bare-metal backup before update--options?

2019-02-11 Thread Simon Matter via CentOS
> Hi all!
>
> I'm a "nervous nellie", I have not yet updated my 7.5 desktop to 7.6
> because (1) it has an Nvidia card, and (2) I've heard of problems
> upgrading on top of software RAID (using RAID1 with 2 drives).
>
> I need to upgrade it to stay secure, and I want to do a bare-metal backup
> first (so I can put it all back as it now is, in case it explodes in my
> face), so I'm trying to figure out the safest way to do that. Here are
> the choices as I see them, I'd appreciate comments/thoughts:
>
> 1. boot from live DVD and manually reassemble the RAID array (how
> would I do that?)
> 2. degrade the array (with appropriate commands) so that it is running
> on just one drive, then boot a live DVD and use dd to back up that drive.
> 3. Other choices you can suggest?
>
> then after successfully getting a bare-metal backup, reboot it with the
> full RAID array and run the update.
>
> Thanks in advance!

To me the easiest method seems to:

- boot into rescue mode, not mounting any disks
- directly dd all complete disks to files on a USB disk or to a remote host
- reboot and update as usual

If anything fails you can again boot into rescue mode (maybe with the help
of USB/DVD/CD) and:

- recover all disks using dd from the backups made before
- reboot and be back on 7.5

Any reason why this shouldn't work?

Regards,
Simon

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Forums down?

2019-02-11 Thread J Martin Rushton via CentOS
All day I've been getting "Sorry but you cannot use search at this time.
The server has high load. Please try again later." from
https://www.centos.org/forums/search.php?search_id=unreadposts

Is there a problem?

-- 
J Martin Rushton MBCS



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forums down?

2019-02-11 Thread Tate Belden
I can log in and view the forums just fine.

But yea, using your search link, I get that same 'server busy'
Informational.

Man, looks like it's been awhile since I've visited there.

On Mon, Feb 11, 2019 at 11:20 AM J Martin Rushton via CentOS <
centos@centos.org> wrote:

> All day I've been getting "Sorry but you cannot use search at this time.
> The server has high load. Please try again later." from
> https://www.centos.org/forums/search.php?search_id=unreadposts
>
> Is there a problem?
>
> --
> J Martin Rushton MBCS
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Tate Belden
"The Dungeon "
A place of (solder) smoke, weird (server) sounds and (LED) blinky lights.
More than a few bugs of various flavors, too.

Natrona County Beekeepers 
Casper Amateur Radio Club 

“Any sufficiently advanced alien life is indistinguishable from God”  to
those that don't understand.  -- Cpt. C. Pike
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forums down?

2019-02-11 Thread J Martin Rushton via CentOS
I've just been down all the Quick links menu, and they all fail in the
same way.  Going in from the board index I can see a post of Trevor's
from 2019/02/11 18:37:46 so it seems to be the search is failing.

On 11/02/2019 18:28, Tate Belden wrote:
> I can log in and view the forums just fine.
> 
> But yea, using your search link, I get that same 'server busy'
> Informational.
> 
> Man, looks like it's been awhile since I've visited there.
> 
> On Mon, Feb 11, 2019 at 11:20 AM J Martin Rushton via CentOS <
> centos@centos.org> wrote:
> 
>> All day I've been getting "Sorry but you cannot use search at this time.
>> The server has high load. Please try again later." from
>> https://www.centos.org/forums/search.php?search_id=unreadposts
>>
>> Is there a problem?
>>

-- 
J Martin Rushton MBCS



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] time --verbose not working

2019-02-11 Thread Robert Moskowitz
I can't seem to get the verbose mode of time working.  I am trying to 
compare the compute cost of sha256-crypt to sha512-crypt:


time doveadm pw -s sha256-crypt -p secret

real    0m0.128s
user    0m0.081s
sys 0m0.040s

time doveadm pw -s sha512-crypt -p secret

real    0m0.162s
user    0m0.105s
sys 0m0.047s

But all attempts to add --verbose fail:

time --verbose doveadm pw -s sha512-crypt -p secret
-bash: --verbose: command not found

Googling gives different recommendations, none work for me.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] time --verbose not working

2019-02-11 Thread Christian, Mark
On Mon, 2019-02-11 at 16:06 -0500, Robert Moskowitz wrote:
> I can't seem to get the verbose mode of time working.  I am trying to 

Provide the full path for time, you are using the bash built-in time. 
Try: /usr/bin/time --verbose cmd

> compare the compute cost of sha256-crypt to sha512-crypt:
> 
> time doveadm pw -s sha256-crypt -p secret
> 
> real0m0.128s
> user0m0.081s
> sys 0m0.040s
> 
> time doveadm pw -s sha512-crypt -p secret
> 
> real0m0.162s
> user0m0.105s
> sys 0m0.047s
> 
> But all attempts to add --verbose fail:
> 
> time --verbose doveadm pw -s sha512-crypt -p secret
> -bash: --verbose: command not found
> 
> Googling gives different recommendations, none work for me.
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] time --verbose not working

2019-02-11 Thread david

At 01:06 PM 2/11/2019, Robert Moskowitz wrote:
I can't seem to get the verbose mode of time 
working.  I am trying to compare the compute 
cost of sha256-crypt to sha512-crypt:


time doveadm pw -s sha256-crypt -p secret

real    0m0.128s
user    0m0.081s
sys     0m0.040s

time doveadm pw -s sha512-crypt -p secret

real    0m0.162s
user    0m0.105s
sys     0m0.047s

But all attempts to add --verbose fail:

time --verbose doveadm pw -s sha512-crypt -p secret
-bash: --verbose: command not found

Googling gives different recommendations, none work for me.



To quote from linux.die.net/man/1/time

Note: some shells (e.g., 
bash(1)) have a 
built-in time command that provides less 
functionality than the command described here. To 
access the real command, you may need to specify 
its pathname (something like /usr/bin/time).


Could it be you've encountered this?

David 
___

CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] time --verbose not working

2019-02-11 Thread Robert Moskowitz



On 2/11/19 4:18 PM, david wrote:

At 01:06 PM 2/11/2019, Robert Moskowitz wrote:
I can't seem to get the verbose mode of time working.  I am trying 
to compare the compute cost of sha256-crypt to sha512-crypt:


time doveadm pw -s sha256-crypt -p secret

real    0m0.128s
user    0m0.081s
sys     0m0.040s

time doveadm pw -s sha512-crypt -p secret

real    0m0.162s
user    0m0.105s
sys     0m0.047s

But all attempts to add --verbose fail:

time --verbose doveadm pw -s sha512-crypt -p secret
-bash: --verbose: command not found

Googling gives different recommendations, none work for me.



To quote from linux.die.net/man/1/time

Note: some shells (e.g., bash(1)) 
have a built-in time command that provides less functionality than the 
command described here. To access the real command, you may need to 
specify its pathname (something like /usr/bin/time).


Could it be you've encountered this?


I had to install the real time command to do this.  thanks


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] time --verbose not working

2019-02-11 Thread Robert Moskowitz



On 2/11/19 4:17 PM, Christian, Mark wrote:

On Mon, 2019-02-11 at 16:06 -0500, Robert Moskowitz wrote:

I can't seem to get the verbose mode of time working.  I am trying to

Provide the full path for time, you are using the bash built-in time.
Try: /usr/bin/time --verbose cmd


Worked after yum install time...  :)




compare the compute cost of sha256-crypt to sha512-crypt:

time doveadm pw -s sha256-crypt -p secret

real0m0.128s
user0m0.081s
sys 0m0.040s

time doveadm pw -s sha512-crypt -p secret

real0m0.162s
user0m0.105s
sys 0m0.047s

But all attempts to add --verbose fail:

time --verbose doveadm pw -s sha512-crypt -p secret
-bash: --verbose: command not found

Googling gives different recommendations, none work for me.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bare-metal backup before update--options?

2019-02-11 Thread Fred Smith
On Mon, Feb 11, 2019 at 04:16:38PM +0100, Simon Matter via CentOS wrote:
> > Hi all!
> >
> > I'm a "nervous nellie", I have not yet updated my 7.5 desktop to 7.6
> > because (1) it has an Nvidia card, and (2) I've heard of problems
> > upgrading on top of software RAID (using RAID1 with 2 drives).
> >
> > I need to upgrade it to stay secure, and I want to do a bare-metal backup
> > first (so I can put it all back as it now is, in case it explodes in my
> > face), so I'm trying to figure out the safest way to do that. Here are
> > the choices as I see them, I'd appreciate comments/thoughts:
> >
> > 1. boot from live DVD and manually reassemble the RAID array (how
> > would I do that?)
> > 2. degrade the array (with appropriate commands) so that it is running
> > on just one drive, then boot a live DVD and use dd to back up that drive.
> > 3. Other choices you can suggest?
> >
> > then after successfully getting a bare-metal backup, reboot it with the
> > full RAID array and run the update.
> >
> > Thanks in advance!
> 
> To me the easiest method seems to:
> 
> - boot into rescue mode, not mounting any disks
> - directly dd all complete disks to files on a USB disk or to a remote host
> - reboot and update as usual
> 
> If anything fails you can again boot into rescue mode (maybe with the help
> of USB/DVD/CD) and:
> 
> - recover all disks using dd from the backups made before
> - reboot and be back on 7.5
> 
> Any reason why this shouldn't work?

Thanks for the reply!

by rescue mode, do you mean (1) the "rescue" kernel in the boot menu?
Or (2) an option on one of the installer DVDs?

Wouldn't (1) boot from the existing drives and mount them?

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  The eyes of the Lord are everywhere, 
keeping watch on the wicked and the good.
- Proverbs 15:3 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos