Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem cloning Pi2 with external HD #18

Open
scargill opened this issue Aug 16, 2015 · 1 comment
Open

Problem cloning Pi2 with external HD #18

scargill opened this issue Aug 16, 2015 · 1 comment

Comments

@scargill
Copy link

So I have a Pi2 with external usb hd - all working perfectly - I decided to give this a try to back it up as the hard drive really is overkill.

I put a usb SD 16gig in - and it reported as sdb1. I ran the script

sudo rpi-clone -f sdb1

and it noted the formatting wasn't right and offered to fix that by initialising the drive- I agreed. It then complained it could not stat /dev/sdb12 - no such file or directory. Not sure what sdb12 is supposed to be.

it said the device apparently does not exist - did I specify it correctly?

Anyway, it THEN went on to say that /dev/sdb1 is initialised and resized - and gave the right size....

But then i got an attempt to read a block form the filesystem resulting in short read while trying to open /dev/mmcblk0p2 - could not find valid filesystem (the hard disk is EXT4 if that helps)....

It then asked me for a label..... and I gave it "Backup1" without the quotes.

At that point it said no such file or directory while trying ot open /dev/sdb12

It asked me if I wanted to proceed with the clone - I said yes, and... mount: special device /dev/sdb12 does not exist... and it bombed out.

Any thoughts other than cutting my wrists?

@bshure
Copy link

bshure commented Aug 27, 2015

I run without the "1" on sdb1

Here's my cron entry:
umount /dev/sdb1;umount /dev/sdb2;printf 'yes\n\n' | /home/pi/bin/rpi-clone sdb >> /home/pi/logs/backup.log 2>&1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants