|
Home > Archive > Unix administration > January 2004 > UNIX backup
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| I would like to know how to backup an existing SCSI hard drive onto
another SCSI hard drive on a UNIX system. Currently the file system
is read-only. How do I change the security permissions on the
filesystem? I logged in as root but this didn't work. I noticed that
this system does not have the cfdisk or fdisk utility. Is there any
other UNIX utilities I can use to format, partition, and mount the new
hard drive? Once this is done how do I make an exact copy of the
original hard drive onto the new hard drive? Do I use the dd command?
Thank you.
| |
|
| "Haas" <haas@haas.com> wrote in message
news:228c7a84d6309fec796c192e5e7d1ef2@ne
ws.meganetnews.com...quote:
> I would like to know how to backup an existing SCSI hard drive onto
> another SCSI hard drive on a UNIX system. Currently the file system
> is read-only. How do I change the security permissions on the
> filesystem? I logged in as root but this didn't work. I noticed that
> this system does not have the cfdisk or fdisk utility. Is there any
> other UNIX utilities I can use to format, partition, and mount the new
> hard drive? Once this is done how do I make an exact copy of the
> original hard drive onto the new hard drive? Do I use the dd command?
>
> Thank you.
Let me guess there is bank records on it? You're mate works in a bank, he pulled
a disk on Friday after a fight with the boss and a few beers. You've got to copy
it and get it back by Monday yeah?
| |
|
| "Haas" <haas@haas.com> wrote in message
news:228c7a84d6309fec796c192e5e7d1ef2@ne
ws.meganetnews.com...quote:
> I would like to know how to backup an existing SCSI hard drive onto
> another SCSI hard drive on a UNIX system. Currently the file system
> is read-only. How do I change the security permissions on the
> filesystem? I logged in as root but this didn't work. I noticed that
> this system does not have the cfdisk or fdisk utility. Is there any
> other UNIX utilities I can use to format, partition, and mount the new
> hard drive? Once this is done how do I make an exact copy of the
> original hard drive onto the new hard drive? Do I use the dd command?
>
> Thank you.
Let me guess there is bank records on it? You're mate works in a bank, he pulled
a disk on Friday after a fight with the boss and a few beers. You've got to copy
it and get it back by Monday yeah?
| |
| Nancy Rudins 2004-01-23, 4:29 pm |
| On Tue, 22 Jul 2003, Haas wrote:
quote:
> I would like to know how to backup an existing SCSI hard drive onto
> another SCSI hard drive on a UNIX system. Currently the file system
> is read-only. How do I change the security permissions on the
> filesystem? I logged in as root but this didn't work. I noticed that
> this system does not have the cfdisk or fdisk utility. Is there any
> other UNIX utilities I can use to format, partition, and mount the new
> hard drive? Once this is done how do I make an exact copy of the
> original hard drive onto the new hard drive? Do I use the dd command?
>
> Thank you.
>
The dd command is the easiest way to do it. Assuming the original
hard drive is /dev/rd0a and the spare hard drive is /dev/rd1a:
dd if=/dev/rd0a of=/dev/rd1a seek=1 skip=1 bs=8k
When this finishes,
fsck /dev/rd1a
mount /dev/d1a /rootb
Kind regards,
Nancy
--
"...our desires and our posessions are the strongest fetters of
despotism." E. Gibbon, "The Decline and Fall of the Roman Empire"
nrudins@ncsa.uiuc.edu http://www.ncsa.uiuc.edu/People/nrudins/
| |
| Nancy Rudins 2004-01-23, 4:29 pm |
| On Tue, 22 Jul 2003, Haas wrote:
quote:
> I would like to know how to backup an existing SCSI hard drive onto
> another SCSI hard drive on a UNIX system. Currently the file system
> is read-only. How do I change the security permissions on the
> filesystem? I logged in as root but this didn't work. I noticed that
> this system does not have the cfdisk or fdisk utility. Is there any
> other UNIX utilities I can use to format, partition, and mount the new
> hard drive? Once this is done how do I make an exact copy of the
> original hard drive onto the new hard drive? Do I use the dd command?
>
> Thank you.
>
The dd command is the easiest way to do it. Assuming the original
hard drive is /dev/rd0a and the spare hard drive is /dev/rd1a:
dd if=/dev/rd0a of=/dev/rd1a seek=1 skip=1 bs=8k
When this finishes,
fsck /dev/rd1a
mount /dev/d1a /rootb
Kind regards,
Nancy
--
"...our desires and our posessions are the strongest fetters of
despotism." E. Gibbon, "The Decline and Fall of the Roman Empire"
nrudins@ncsa.uiuc.edu http://www.ncsa.uiuc.edu/People/nrudins/
| |
| Bill Marcum 2004-01-23, 4:29 pm |
| On Tue, 22 Jul 2003 00:43:10 GMT, Haas
<haas@haas.com> wrote:quote:
> I would like to know how to backup an existing SCSI hard drive onto
> another SCSI hard drive on a UNIX system. Currently the file system
> is read-only. How do I change the security permissions on the
> filesystem?
Perhaps the file system became read-only because of an i/o error.
Try "mount -n -o remount,rw /"
--
Lazlo's Chinese Relativity Axiom:
No matter how great your triumphs or how tragic your defeats --
approximately one billion Chinese couldn't care less.
| |
|
| I entered the command uname -a to get
LynxOS Orbis 2.2.1 2 m68040
I looked through the /bin and /usr/local/bin directories and could not
find anything related to fdisk. Is there another disk
formating/partioning utility in this version of UNIX?
I also looked in the /etc/fstab file which has contents
/dev/sd0a:/:rw:0:0
/dev/sd0b:/home:rw:0:0
Somebody else told me that the command
mount -n -o remount, rw /
will solve the read-only file system problem I'm having.
Any help on this would be appreciated.
Thanks.
On Tue, 22 Jul 2003 01:00:59 GMT, Nicholas Bachmann
<usenet@not-real.org> wrote:
quote:
>Haas wrote:
>
>Sorry, my crystal ball is broken. You'll have to tell us what kind of
>Unix systen you're talking about - OS, version, vendor, and at least an
>idea of the hardware.
>
>'uname -a' can probably get most of that for you.
| |
| Bill Marcum 2004-01-23, 4:29 pm |
| On Tue, 22 Jul 2003 00:43:10 GMT, Haas
<haas@haas.com> wrote:quote:
> I would like to know how to backup an existing SCSI hard drive onto
> another SCSI hard drive on a UNIX system. Currently the file system
> is read-only. How do I change the security permissions on the
> filesystem?
Perhaps the file system became read-only because of an i/o error.
Try "mount -n -o remount,rw /"
--
Lazlo's Chinese Relativity Axiom:
No matter how great your triumphs or how tragic your defeats --
approximately one billion Chinese couldn't care less.
| |
|
| I entered the command uname -a to get
LynxOS Orbis 2.2.1 2 m68040
I looked through the /bin and /usr/local/bin directories and could not
find anything related to fdisk. Is there another disk
formating/partioning utility in this version of UNIX?
I also looked in the /etc/fstab file which has contents
/dev/sd0a:/:rw:0:0
/dev/sd0b:/home:rw:0:0
Somebody else told me that the command
mount -n -o remount, rw /
will solve the read-only file system problem I'm having.
Any help on this would be appreciated.
Thanks.
On Tue, 22 Jul 2003 01:00:59 GMT, Nicholas Bachmann
<usenet@not-real.org> wrote:
quote:
>Haas wrote:
>
>Sorry, my crystal ball is broken. You'll have to tell us what kind of
>Unix systen you're talking about - OS, version, vendor, and at least an
>idea of the hardware.
>
>'uname -a' can probably get most of that for you.
|
|
|
|
|