Sponsored Content
Top Forums UNIX for Dummies Questions & Answers backup to NFS mount Redhat-Solaris Post 302195141 by Stin on Wednesday 14th of May 2008 11:29:02 AM
Old 05-14-2008
backup to NFS mount Redhat-Solaris

Hi guys,

I have a redhat laptop and a sun solaris 8 server networked together

I created an nfs share on the sun server and backed up an image of the Redhat laptop to it.
The Hard disk size of the laptop is 40Gb but I have about 38Gb free space on the sun server. So I compressed the image while backing up.

# dd if=/dev/hda | gzip > /NFS_MOUNT/backup.gz

This created the file OK.

Now I'm testing a restore.

So I have donwloaded System Rescue CD and booted the laptop with that.
I've set up the ip address and default gateway and can ping the Sun server.

I've then mounted the NFS partition, and can see the backup file.

However when I try to restore with the command:

# gzip -dc /NFS_MOUNT/backup.gz | dd of=/dev/hda

I get an error: No space left on device.

Am I missing a step? I thought dd would just overwrite the disk.
Does this mean there is not enough space on the sun server or not enough space on the redhat laptop?

When booted with the system rescue cd the output of sfdisk -l has /dev/sdaX where I was expecting /dev/hdX

Can anyone help?

Many thanks and kind regards,

Stin.
 

10 More Discussions You Might Find Interesting

1. Red Hat

How to nfs mount with Redhat Linux

*** I also posted this in the Unix general forum, but would like to get the Linux point of view. *** Hello all - I've searched this forum, but was unable to find out the info I need. I'm trying to mount (nfs mount) a directory on another box from my Linux machine. The mount point... (1 Reply)
Discussion started by: Heron
1 Replies

2. UNIX for Dummies Questions & Answers

mount -o llock -F nfs vs mount -F nfs

Hi, We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time. Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem.. Can... (1 Reply)
Discussion started by: KhawHL
1 Replies

3. Solaris

how to mount NFS drive from Window XP to Solaris 10?

Is there a free tool that will allow me to mount an NFS network drive from a Window XP computer onto a Solaris 10 x86 system? So when this is done, I would have a mapped network drive on my Windows XP system, say network drive N, that is mounted onto the directory /export/home/data on my Solaris... (2 Replies)
Discussion started by: serendipity1276
2 Replies

4. Solaris

how to mount Windows NFS share on solaris

Hi, How can i mount an NFS share on a solaris machine a filesystem ? I have enabled nfs on a windows server and the shares has given read/write access to it to all the users. I would like to mount it on around 10 different solaris boxes with different versions of solaris. Thanks in advance. (2 Replies)
Discussion started by: uxadmin007
2 Replies

5. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

Hello, I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;) Below are the configs /etc/exports on host /home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies

6. Solaris

NFS mount on Solaris 8

Hello Admins; I am working around on an issue of NFS mount on Solaris 8 server. I am trying to mount a remote directory (which is on vlan 146 -solaris 10 server ) on solaris 8 client which is on vlan 10. The firewall rules have been opened, ports are opened. But when I do code: mount -F... (7 Replies)
Discussion started by: snchaudhari2
7 Replies

7. Solaris

NFS mount from SCO to Solaris

Hi, I'm using Solaris 10 and OS/2 warp. There is a share on OS/2 warp which I'm trying to mount on Solaris. I get the following error message $mount -F nfs -o rw 10.5.170.16:D:\audio /AudioSCRAFT nfs mount: 10.5.170.16:D:audio: no applicable versions of NFS supportedAny idea how I mount the... (5 Replies)
Discussion started by: maverick_here
5 Replies

8. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies

9. Solaris

Solaris 10 NFS client cannot mount a share from a Windows server

I have a Solaris 10 server, I'm trying to mount a share from a Windows nfs server. If I add this entry (tst-walnut:/test_sap_nfs - /majid nfs - yes rw,soft) to my /etc/vfstab, then I can mount, but when I create a file by root:root, the file owner changes to... (1 Reply)
Discussion started by: Hiroshi
1 Replies

10. Solaris

NFS write error on host xyz: Stale NFS file handle - Solaris 10

Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400) Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies
HD(4)							     Linux Programmer's Manual							     HD(4)

NAME
hd - MFM/IDE hard disk devices DESCRIPTION
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave hdd. General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order the partitions are discovered, and only nonempty, nonextended partitions get a number. However, partition numbers 1-4 are given to the four partitions described in the MBR (the "primary" partitions), regardless of whether they are unused or extended. Thus, the first logi- cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions on an IDE disk. For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS "primary" partition on the second one. They are typically created by: mknod -m 660 /dev/hda b 3 0 mknod -m 660 /dev/hda1 b 3 1 mknod -m 660 /dev/hda2 b 3 2 ... mknod -m 660 /dev/hda8 b 3 8 mknod -m 660 /dev/hdb b 3 64 mknod -m 660 /dev/hdb1 b 3 65 mknod -m 660 /dev/hdb2 b 3 66 ... mknod -m 660 /dev/hdb8 b 3 72 chown root:disk /dev/hd* FILES
/dev/hd* SEE ALSO
chown(1), mknod(1), sd(4), mount(8) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 1992-12-17 HD(4)
All times are GMT -4. The time now is 09:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy