Link to home
Start Free TrialLog in
Avatar of Thyagaraj03
Thyagaraj03

asked on

rsync cloning error

I've ubuntu desktop 10.04 running and is installed on a 80 HD of IDE interface. I've newly added a 250GB HD of SATA interface. I'm using rsync to completely copy root directory '/' to the newly added 250GB HD. I mounted the new disk and used the following command:

rsync -avPD --exclude 'mnt' / /mnt

In the middle of the process I'm getting the error like the below:
 
s    0:00:01 (xfer#48087, to-check=1027/71960)
rsync: read errors mapping "/sys/devices/pci0000:00/0000:00:00.0/class": No data available (61)
sys/devices/pci0000:00/0000:00:00.0/config
         256 100%    0.25kB/s    0:00:01 (xfer#48088, to-check=1026/71960)
sys/devices/pci0000:00/0000:00:00.0/device
        4096 100%    3.97kB/s    0:00:01 (xfer#48089, to-check=1025/71960)
rsync: read errors mapping "/sys/devices/pci0000:00/0000:00:00.0/device": No data available (61)
sys/devices/pci0000:00/0000:00:00.0/enable
        4096 100%    3.89kB/s    0:00:01 (xfer#48090, to-check=1024/71960)
rsync: read errors mapping "/sys/devices/pci0000:00/0000:00:00.0/enable": No data available (61)
sys/devices/pci0000:00/0000:00:00.0/firmware_node -> ../../LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C02:02
sys/devices/pci0000:00/0000:00:00.0/irq
        4096 100%    3.89kB/s    0:00:01 (xfer#48091, to-check=1022/71960)
rsync: read errors mapping "/sys/devices/pci0000:00/0000:00:00.0/irq": No data available (61)
sys/devices/pci0000:00/0000:00:00.0/local_cpulist
        4096 100%    3.89kB/s    0:00:01 (xfer#48092, to-check=1021/71960)
rsync: read errors mapping "/sys/devices/pci0000:00/0000:00:00.0/local_cpulist": No data available (61)
sys/devices/pci0000:00/0000:00:00.0/local_cpus
        4096 100%    3.89kB/s    0:00:01 (xfer#48093, to-check=1020/71960)
rsync: read errors mapping "/sys/devices/pci0000:00/0000:00:00.0/local_cpus": No data available (61)
sys/devices/pci0000:00/0000:00:00.0/modalias
        4096 100%    3.89kB/s    0:00:01 (xfer#48094, to-check=1019/71960)
rsync: read errors mapping "/sys/devices/pci0000:00/0000:00:00.0/modalias": No data available (61)
sys/devices/pci0000:00/0000:00:00.0/msi_bus
        4096 100%    3.89kB/s    0:00:01 (xfer#48095, to-check=1018/71960)
rsync: read errors mapping "/sys/devices/pci0000:00/0000:00:00.0/msi_bus": No data available (61)

Open in new window


And the entire process ends with the follwing error:

sent 6934616308 bytes  received 3786140 bytes  5727117.17 bytes/sec
total size is 6083618857  speedup is 0.88
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7]

When I try to boot the machine with the new HD(250GB), I'm getting the following error:

error : no such partition
grub rescue>

I'm not using dd/ddrescue or any other tool because in my office rsync is being used over wan links between a cloud and backup server. So I'm practising this at my home computer. Need help...
ASKER CERTIFIED SOLUTION
Avatar of jackiechen858
jackiechen858
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Thyagaraj03
Thyagaraj03

ASKER

I can clone with other tools but I couldn't do with rsync.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Oh.. ok!
Could it be stopped generating error messages by any way?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm not excluding proc, sys, dev because I'll sync it later on the same machine with same hardware config.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm not using dd/ddrescue, clonezilla or any other tool because in my office rsync is being used over wan links between a cloud and backup server. So I'm practising this at my home computer. Need help...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok, on the lan I could do. How do I do for cloud servers over wan links which don't even have direct access to it.