Sponsored Content
Full Discussion: How to create mirror?
Top Forums Shell Programming and Scripting How to create mirror? Post 302903001 by sea on Friday 23rd of May 2014 11:39:38 AM
Old 05-23-2014
Why not simply re-run wget with mirror2 url, but only if mirror(1) fails.
Saves you another 'if' block.
Code:
if [ $answer = 1 ]; then
    wget $MIRROR || wget $MIRROR2
    echo "$BACK2MENU" ; read
fi

hth
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

create raidctl mirror with mounted source parition

I am mirroring a single partition drive with raidctl. The source partition was mounted when I created the mirror with raidctl -c c1t1d0 c1t3d0. The source disk was defined with s2 and s6 only. I didn't think to umount it first. Is there a problem with that? (2 Replies)
Discussion started by: csgonan
2 Replies

2. Solaris

Create a logical volume from a mirror and single disk?

I have two 72GB disks that are mirrored and mounted (/backup). I have a 18GB drive in an array I just attached to the server, which is running Solaris 9. I need to create a new logical volume partition and make the existing mirror device (/dev/md/dsk/d34) and the array's 18GB drive a member of... (3 Replies)
Discussion started by: dotcom75
3 Replies

3. Solaris

ZFS Mirror versus Hardware Mirror

I've looked a little but haven't found a solid answer, assuming there is one. What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies

4. Solaris

What is mirror and sub mirror in RAID -1 SVM

Hi , I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through metainit d51 1 1 c0t0d0s2 metainit d52 1 1 c1t0d0s2 In the next step metainit d50 -m d51 d50: Mirror is setup next step is metaattach d50 d52 d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies

5. Solaris

How to create mirror disk in solaris machine?

hi, I'm newbie in Solaris 10. can someone explain me the steps of how to create mirror disk in Solaris machine. thanks in advance (5 Replies)
Discussion started by: Wong_Cilacap
5 Replies

6. Solaris

Create a boot disk mirror on Solaris 10 x86

I’m setting up a boot disk mirror on Solaris 10 x86. I’m used to doing it on SPARC, where you can copy the partition table using fmthard. My x86 boot disk has 2 primary partitions, a Solaris one and a diagnostic one. Is there a way to copy those 2 primary partitions to the second disk without... (6 Replies)
Discussion started by: TKD
6 Replies

7. Solaris

How to reattach a mirror?

OK, I upgraded to the latest version of Solaris 10. Perhaps 'upgrade' isn't the right term because I reinstalled the root/boot drive with Solaris 10. Prior to this I had 4 physical drives. The first two had "/" and "/usr", the other two had a /var/audit and /home. I initially booted from cdrom and... (7 Replies)
Discussion started by: brownwrap
7 Replies

8. Solaris

Second Mirror is not booting !

zpool status -v below my mirrors in Solaris 10 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 c3t0d0s0 ONLINE 0 0 0 ... (2 Replies)
Discussion started by: top.level
2 Replies

9. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies
SIMPLE-CDD(1)						      General Commands Manual						     SIMPLE-CDD(1)

NAME
simple-cdd - create custom debian-installer CDs SYNOPSIS
simple-cdd [options] OPTIONS
--conf Specify a configuration file --dist Specify a distribution (etch, lenny, sid) --graphical-installer|-g Enable graphical installer by default --serial-console|-s Set defaults for serial console --do-mirror Generate a local mirror --no-do-mirror Do not generate a local mirror --profiles|-p Select profiles (Examples in /usr/share/simple-cdd/profiles/ directory) --build-profiles|-b Profiles only used while building the CD --auto-profiles|-a Pre-select and automatically install these profiles --local-packages List of packages to be included on CD's local package repository --locale Select locale (language and country) --keyboard Select keyboard (console-keymaps-at/keymap debconf question) --debian-mirror Specify debian mirror (The default is: ftp://ftp.us.debian.org/debian) --security-mirror Specify securty mirror (The default is: http://security.debian.org/) --mirror-tools List the mirror tools to be used (The defaults are both wget and reprepro) --kernel-packages List of kernel packages to be included on the CD --help|-h Display the usage message --qemu|-q Use qemu to test the built image --force-preseed Only issue a warning if a preseeding file is invalid --profiles-udeb-dist Specify distribution to pull simple-cdd-profiles udeb from --extra-udeb-dist Specify additional distribution to pull udebs from EXAMPLES
simple-cdd --profiles x-basic -g Build a custom image using the default options, except for using the graphical installer by default and the x-basic profile (/usr/share/simple-cdd/x-basic.*) AUTHOR
This manual page was written by Gustavo Franco <stratus@acm.org>, for the Debian project (but may be used for others). Oct 28th, 2007 SIMPLE-CDD(1)
All times are GMT -4. The time now is 01:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy