Sponsored Content
Full Discussion: Trouble with backup
Operating Systems Solaris Trouble with backup Post 302959763 by dreiak on Thursday 5th of November 2015 08:42:09 PM
Old 11-05-2015
Trouble with backup

At work I am running a solaris 10 server with a ZFS filesystem. I am unfortunately not a solaris expert by any stretch of the imagination, and the relative difficulty in doing what I consider to be a super basic operation using solaris is driving me insane.

It is my job to figure out some way (or ideally make a script) that will make a complete bootable clone of an entire hard disk from one drive to another.

Drive one is c1t0d0 (bay 0), drive two is c1t1d0 (bay 1).

I must be able to remove the 2nd drive for off site storage, and I must be able to swap the drive in bay 0 with the off site drive and boot the server up completely from the backup.

I have been trying to figure this out for weeks. I tried using raidctr -c c1t0d0 c1t1d0, now I can't boot from either drive. (including when both are inserted). The server will just stick in a looped boot sequence.

I tried using dd commands as well, which appeared to work, but I couldn't boot off the drive. Part of the problem is that I am not a solaris guru, and I am definitely missing something to make this work. dd seemed like the best candidate, as the hard disks are identical. If someone knows that this will work, I need to know EXACTLY what to do, and not approximately.

I am avoiding using snapshots because it sounds so complicated, and though I have seen that it is possible to make a clone from snapshots, it does not sound like I will really get what I am looking for out of this solution, but I am open to anything.

TLDR: How do I get two HDDs to be independently bootable and have exactly the same information on them? Why isn't there some super easy command for this in Solaris?
 

9 More Discussions You Might Find Interesting

1. OS X (Apple)

OS X Server: Trouble restoring mail from backup...

So I had some bad RAM in my server. Of course I didn't know it at the time. And it kept making the 10.3.5 updater crash. And that last crash did it. My drive was messed up. So I had to reformat and reinstall. Luckily I had a whole slew of fresh backups. But I'm really hung up on the mail. I backed... (0 Replies)
Discussion started by: l008com
0 Replies

2. UNIX for Dummies Questions & Answers

The trouble about SU ...

Hi all, having read lots of posts about SU I don't quiet understand this : I'm doing regular backups of my database (u betta do) and therefore use su - username -c "sqlscript special data_base" in a unixscript which is even using cron. (yep!) Now I need some other script, still with this... (4 Replies)
Discussion started by: nulnul7
4 Replies

3. UNIX for Dummies Questions & Answers

X trouble

Hi there, I'm new to unix-environments. I'm richard, and i'm mostly a web-developer, under php. I've done work in unix env before, but never had my own. Today, I've got debian 3.1 r4 from the official site, and i've attempted to install it twice. I installed it initially as "Desktop... (0 Replies)
Discussion started by: izua
0 Replies

4. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

Hi, I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies

5. SCO

Backup to SCSI Tape Backup aborts

I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS. The process started fine but after about 30 minutes, it just stopped and showed the following message: 1755 Signal 31 - Core dumped Any idea of what is causing this and how to fix it? ... (4 Replies)
Discussion started by: zionpc
4 Replies

6. UNIX for Advanced & Expert Users

backup a file and keep every version of the backup

I am trying to backup my .bash_history and I want to keep every version of the backup. I am thinking to put one of these in my crontab. 0 0 * * 0,3 cat .bash_history > boo 0 0 * * 0,3 cp .bash_history boo I would like the backups to be called boo1, boo2, boo3, etc. I would like to keep... (7 Replies)
Discussion started by: cokedude
7 Replies

7. Programming

Trouble with C

Hey, i am having a problem First, i know java well and i have used C++ on occasion so i thought i would be able to deal with a class where they program in C. unfortunately i have hit some speed bumps that i am having problems. Here is my problem: I have a structure cache_t in the sample... (0 Replies)
Discussion started by: zephoid
0 Replies

8. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

9. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies
RXFORMAT(8)						      System Manager's Manual						       RXFORMAT(8)

NAME
rxformat - format floppy disks (2.11BSD) SYNOPSIS
rxformat special DESCRIPTION
The rxformat program formats a diskette in the specified drive associated with the special device special. Special is normally /dev/rrx0?, for drive 0, or /dev/rrx1?, for drive 1, where ``?'' is either "a" or "b" to indicate single or double density access. The ``raw'' device must be used. Single density is compatible with the IBM 3740 standard (128 bytes/sector). In double density, each sector contains 256 bytes of data. Before formatting a diskette rxformat prompts for verification if standard input is a tty (this allows a user to cleanly abort the opera- tion; note that formatting a diskette will destroy any existing data). Formatting is done by the hardware. All sectors are zero-filled. DIAGNOSTICS
`No such device' means that the drive is not ready, usually because no disk is in the drive or the drive door is open. Other error mes- sages are selfexplanatory. FILES
/dev/rrx?? SEE ALSO
rx(4) AUTHOR
Helge Skrivervik BUGS
A floppy may not be formatted if the header info on sector 1, track 0 has been damaged. Hence, it is not possible to format a completely degaussed disk. (This is actually a problem in the hardware.) 3rd Berkeley Distribution November 17, 1996 RXFORMAT(8)
All times are GMT -4. The time now is 04:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy