RPI 3 backup usb pendrive

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
helio58
Posts: 19
Joined: Tue Jun 06, 2017 8:02 pm

RPI 3 backup usb pendrive

Post by helio58 »

Hi,
Have attached a new formated usb pen drive (Ext3)
But Dietpi don't detect the usb.
I was hopping to backup the dietpi to the usb.
It should work but in the drive manager I don't see the attached usb pen drive.
If someone could point me how to achieve this, please.
Thanks
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: RPI 3 backup usb pendrive

Post by Fourdee »

helio58 wrote:Hi,
Have attached a new formated usb pen drive (Ext3)
But Dietpi don't detect the usb.
I was hopping to backup the dietpi to the usb.
It should work but in the drive manager I don't see the attached usb pen drive.
If someone could point me how to achieve this, please.
Thanks
Hi,

Can you paste results of following please:

Code: Select all

lsusb
dmesg | grep usb
blkid
df -h
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
helio58
Posts: 19
Joined: Tue Jun 06, 2017 8:02 pm

Re: RPI 3 backup usb pendrive

Post by helio58 »

Here is the result :
Thanks

root@DietPi:~# lsusb
Bus 001 Device 005: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@DietPi:~# dmesg | grep usb
[ 0.090312] usbcore: registered new interface driver usbfs
[ 0.090367] usbcore: registered new interface driver hub
[ 0.090427] usbcore: registered new device driver usb
[ 0.184280] usbcore: registered new interface driver smsc95xx
[ 0.653960] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.656237] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.658537] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[ 0.665358] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.667624] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.669925] usb usb1: Product: DWC OTG Controller
[ 0.672213] usb usb1: Manufacturer: Linux 4.9.27-v7+ dwc_otg_hcd
[ 0.674514] usb usb1: SerialNumber: 3f980000.usb
[ 0.682248] usbcore: registered new interface driver usb-storage
[ 0.740449] usbcore: registered new interface driver usbhid
[ 0.745226] usbhid: USB HID core driver
[ 1.129469] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.359766] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.364453] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.699496] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.829766] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 1.834894] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.943800] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:d7:84:a5
[ 897.379458] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 897.510055] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5567
[ 897.510064] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 897.510069] usb 1-1.2: Product: Cruzer Blade
[ 897.510073] usb 1-1.2: Manufacturer: SanDisk
[ 897.510076] usb 1-1.2: SerialNumber: 4C530099970923112014
[ 897.510641] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 897.512166] scsi host0: usb-storage 1-1.2:1.0
[ 963.649275] usb 1-1.2: USB disconnect, device number 4
[89191.013736] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[89191.144627] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5567
[89191.144641] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[89191.144650] usb 1-1.2: Product: Cruzer Blade
[89191.144657] usb 1-1.2: Manufacturer: SanDisk
[89191.144665] usb 1-1.2: SerialNumber: 4C530099970923112014
[89191.145652] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[89191.148077] scsi host0: usb-storage 1-1.2:1.0
root@DietPi:~# blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="621E-3B3C" TYPE="vfat" PARTUUID="ee614650-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="35ab52fd-2061-49ad-98c1-2e11ff391d7d" TYPE="ext4" PARTUUID="ee614650-02"
/dev/mmcblk0: PTUUID="ee614650" PTTYPE="dos"
root@DietPi:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 3.1G 11G 22% /
devtmpfs 458M 0 458M 0% /dev
tmpfs 462M 0 462M 0% /dev/shm
tmpfs 462M 6.4M 456M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 462M 0 462M 0% /sys/fs/cgroup
tmpfs 10M 1.3M 8.8M 13% /DietPi
tmpfs 20M 72K 20M 1% /var/log
tmpfs 462M 4.0K 462M 1% /tmp
/dev/mmcblk0p1 63M 23M 41M 36% /boot
root@DietPi:~#
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: RPI 3 backup usb pendrive

Post by Fourdee »

helio58 wrote:[89191.145652] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[89191.148077] scsi host0: usb-storage 1-1.2:1.0
root@DietPi:~# blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="621E-3B3C" TYPE="vfat" PARTUUID="ee614650-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="35ab52fd-2061-49ad-98c1-2e11ff391d7d" TYPE="ext4" PARTUUID="ee614650-02"
/dev/mmcblk0: PTUUID="ee614650" PTTYPE="dos"
Hi,

Thanks.

Bizarre, the device is being picked up by kernel, however, blkid is not seeing any partitions on the device. As DietPi-Drive_Manager relies on blkid, it can't detect the drive.

Try formatting the drive in another system (eg: SD format full format), then plugging back in and checking blkid.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
helio58
Posts: 19
Joined: Tue Jun 06, 2017 8:02 pm

Re: RPI 3 backup usb pendrive

Post by helio58 »

After reformat I can see it in blkid
But not in device manager
Not available as a backup
Will buy a extra sd card and backup that way
Thanks
Post Reply