Hugh Brown
|
Re: Backing up a QNX 4.25G hard drive
|
Hugh Brown
01/23/2013 11:20 AM
post98746
|
Re: Backing up a QNX 4.25G hard drive
2GB is the file size limit under QNX4, so if you create a file that is
less than 2GB on the USB drive, is it readable on another machine?
On 2013-01-23 11:04 AM, "Kevin Warkentin" <community-noreply@qnx.com>
wrote:
>Hi:
>
>We have been using a DAT tape drive to backup our QNX 4.25G hard
>drive.This has worked well for us but the tape drive is on it's last legs
>and we were looking at trying to back up the hard drive to a USB mounted
>external hard drive. The USB drive was set up to have a 20GB FAT32
>partition.
>We need to back up about 8GB of info so 20GB is more than enough room.
>We were using a pax command in conjunction with a find command to
>control what directories to exclude and ended up with a tar file slightly
>larger than 2 GB.
>However when we attempt to use tar to restore onto another QNX formatted
>hard drive we get a message indicating that it does not think the file is
>in tar format.
>If we use the same command but only back up a smaller directory the
>restore using tar works.
>Is there a file size restriction on FAT 32 partitions using a USB drive?
>
>Also are there any other methods to backup a QNX 4.25G drive. We really
>like the notion of backing up to a USB drive and then being able to
>restore to another QNX hard drive on a different computer.
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post98744
>To cancel your subscription to this discussion, please e-mail
>general-qnx4-unsubscribe@community.qnx.com
|
|
|
Erick Muis
|
Re: Backing up a QNX 4.25G hard drive
|
Erick Muis
01/23/2013 3:25 PM
post98750
|
Re: Backing up a QNX 4.25G hard drive
Hi Kevin,
Try the attached script, it copies from one drive to another regardless of the size.
Erick
Readme.txt
Begin
File: QNX_drive_copy.gz
Description: Copies one drive to another.
Keywords: duplicate hard drive disk copy image format master
Version: 1.0
Entered-date: 12-Jan-1998
Author: Maurice Cinquini <cinquini@alamar-usa.com> of Philips DVS.
Ported-by:
Original-site:
Copying-policy: This program is public domain
Supplemental:
This program creates logical copies of hard drives, as opposed to "dd"
image copies. Therefore it does not rely on matching drive geometeries,
does not copy unused parts of the drive and the copy is defragmented.
This script assumes the drives use Logical Block Addressing (LBA) mode,
and are only one partition, and that partition is QNX of course.
Licenses and "bootability is preserved. A log of is saved in /tmp/log.
Only tested with QNX 4.24, single partition, LBA, IDE drives only.
The complete procedure to copy drives involves the following steps:
1. Insert the master (source) and slave (blank) hard drives.
Depending of the machine setup, slave drives usually needs to
have a jumper removed.
2. Boot QNX in a safe mode where there are no programs running that
may asynchronously write to the hard drive during the following
procedure. If you can't guarantee this, you should use a QNX
boot floppy and mount the hard drive manually.
3. Login as root.
4. Verify the Master drive has the kernel built to force LBA option
during boot up. Check /boot/build/hard.?? has the line
"Fsys.eide fsys -h 64,63", (i.e, sectors,heads for LBA mode.)
5. Run this script.
End
|
|
|