Archiv verlassen und diese Seite im Standarddesign anzeigen : How to copy recording from the box to PC by FTP
I'm trying to copy a recorded movie from the box to the PC by FTP but when I click on /media/USB I don't get to see anything
If there anyway to copy recordings to PC?
PC doesn't read Ext3
Which software are you using? And which OS?
klick to /media/hdd/movie/
7448
Which software are you using? And which OS?
I'm using fileZilla. Windows OS 8. Recording to a flash memory
My recording is in /media/USB/ but from the ftp I can't see anything
Your screenshot also shows /media/hdd
Open this folder, the recordings will then be found in another subfolder movie.
Full path for your movies: /media/hdd/movie
Your screenshot also shows /media/hdd
Open this folder, the recordings will then be found in another subfolder movie.
Full path for your movies: /media/hdd/movie
I don't have a movie folder in / media / hdd /7453. See screenshot
please connect to your box via telnet and issue the following commands:
sfdisk -l
blkid
mount
and post the output please
SPARK:~# sfdisk-l
-sh: sfdisk-l: not found
SPARK:~# blkid
/dev/sda1: UUID="3e6c621f-d2fc-47db-8b95-d3d04a0c5bd6" TYPE="ext2"
SPARK:~# mount
instead sfdisk -l please do:
fdisk -l
which image are you using??
SPARK:~# fdisk-l
-sh: fdisk-l: not found
SPARK:~#
Image HDMU_12275_E2_spark_214_git_5764_nodebug_mix_Flash
Thanks
please make a space(blank) between fdisk and -l
SPARK:~# fdisk -l
Disk /dev/sda: 16.0 GB, 16008609792 bytes
64 heads, 32 sectors/track, 15267 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 15266 15632368 83 Linux
SPARK:~#
OK - do the next please:
mkdir /tmp/hdd
umount /dev/sda1
tune2fs /dev/sda1 -L RECORD
mount /dev/sda1 /tmp/hdd
mkdir /tmp/hdd/movie
then reboot the box
I have rebooted the box and nothing
SPARK:~# mkdir / tmp / hdd
mkdir: can't create directory '/': File exists
mkdir: can't create directory '/': File exists
SPARK:~# umount / dev/sda1
umount: can't umount /: Device or resource busy
umount: can't umount dev/sda1: No such file or directory
SPARK:~# tune2fs / dev/sda1-L RECORD
tune2fs 1.42.9 (28-Dec-2013)
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-g group]
[-i interval[d|m|w]] [-j] [-J journal_options] [-l]
[-m reserved_blocks_percent] [-o [^]mount_options[,...]] [-p mmp_update_
interval]
[-r reserved_blocks_count] [-u user] [-C mount_count] [-L volume_label]
[-M last_mounted_dir] [-O [^]feature[,...]]
[-E extended-option[,...]] [-T last_check_time] [-U UUID]
[ -I new_inode_size ] device
SPARK:~# mount / dev/sda1 / tmp / hdd
BusyBox v1.22.1 (2014-05-11 15:18:09 CEST) multi-call binary.
Usage: mount [OPTIONS] [-o OPTS] DEVICE NODE
Mount a filesystem. Filesystem autodetection requires /proc.
-a Mount all filesystems in fstab
-f Update /etc/mtab, but don't mount
-i Don't run mount helper
-n Don't update /etc/mtab
-v Verbose
-r Read-only mount
-w Read-write mount (default)
-t FSTYPE[,...] Filesystem type(s)
-O OPT Mount only filesystems with option OPT (-a only)
-o OPT:
loop Ignored (loop devices are autodetected)
[a]sync Writes are [a]synchronous
[no]atime Disable/enable updates to inode access times
[no]diratime Disable/enable atime updates to directories
[no]relatime Disable/enable atime updates relative to modification ti
me
[no]dev (Dis)allow use of special device files
[no]exec (Dis)allow use of executable files
[no]suid (Dis)allow set-user-id-root programs
[r]shared Convert [recursively] to a shared subtree
[r]slave Convert [recursively] to a slave subtree
[r]private Convert [recursively] to a private subtree
[un]bindable Make mount point [un]able to be bind mounted
[r]bind Bind a file or directory [recursively] to another locati
on
move Relocate an existing mount point
remount Remount a mounted filesystem, changing flags
ro/rw Same as -r/-w
There are filesystem-specific -o flags.
SPARK:~# mkdir / tmp / hdd / movie
mkdir: can't create directory '/': File exists
mkdir: can't create directory 'tmp': File exists
mkdir: can't create directory '/': File exists
mkdir: can't create directory 'hdd': File exists
mkdir: can't create directory '/': File exists
SPARK:~#
please copy and paste exactly my commands,
you add spaces where no spaces are allowed!
so: copy and paste line by line - then everything is working
I'm copying and pasting by line and it doesn't work
umount /dev/sda1
SPARK:~# umount /dev/sda1
umount: can't umount /dev/sda1: Invalid argument
Mikam_0815
03.06.2014, 21:51
Ignore this error as the device seems not to be mounted at current. Continue with the tune2fs command in morly's list
I can see now in the receiver /hdd/movie folder I created and I have copied the movie to it from receiver and still it doesn't show in Filezilla
- - - Aktualisiert - - -
It just fail to mount device
SPARK:~# tune2fs /dev/sda1 -L RECORD
tune2fs 1.42.9 (28-Dec-2013)
SPARK:~# mount /dev/sda1 /tmp/hdd
mount: mounting /dev/sda1 on /tmp/hdd failed: Device or resource busy
SPARK:~#
Mikam_0815
03.06.2014, 21:55
Do a refresh in filezilla's list of the destination folder or reconnect/reopen filezilla, it loads the directory structure on startup but does not detect automatically changes in the file system of the destination if those are not done via filezilla
Give one more command
mount
to see if the device is already mounted. If you try to do the same mount operation twice you get this kind of error
shutdown box, unplug hdd, boot hdmu image, plug hdd in and try my commands once more
- - - Aktualisiert - - -
didn't you forget the umount at the beginning? important!!
Ok I have done it again and I can see a folder created in the root /tmp/hdd/movie I have copied the movie manually from the box and I can see the movie in the ftp
I recorded two pieces more and they don't show in the folder /tmp/hdd/movie
- - - Aktualisiert - - -
Can I set th recorded to record to USB memory or it has to be set to record to root?
Mikam_0815
03.06.2014, 22:26
Did you reboot the box? I'm a bit puzzled now as the recorded files should end up in /media/hdd/movie (or /hdd/movie as /hdd is a symbolic link to /media/hdd). The commands provided by morly should allow the box to mount the hard disk automatically after a reboot. Please show once more result from
mount command.
SPARK:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /ram type tmpfs (rw,relatime)
/dev/root on /dev.static type jffs2 (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
automount(pid479) on /autofs type autofs (rw,relatime,fd=4,pgrp=479,timeout=5,mi
nproto=2,maxproto=4,indirect)
/dev/sda1 on /media/hdd type ext2 (rw,noatime,nodiratime,errors=remount-ro)
/dev/sda1 on /autofs/sda1 type ext2 (rw,noatime,nodiratime,errors=remount-ro)
SPARK:~# blkid
/dev/sda1: UUID="3e6c621f-d2fc-47db-8b95-d3d04a0c5bd6" TYPE="ext2" LABEL="RECORD
"
SPARK:~#
Ok... please reboot once more and then start a recording.
Does it finally appear under /media/hdd/movie ?
I rebooted and I can see the movie here /autofs/sda1/movie
Is this the USB location?
Thanks for all the help
I think something happened with your settings - no must be at: /media/hdd/movie
can you install a new image (without any restoring of settings) and try it once more?
the partition MUST be mounted to /media/hdd automatically!!
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.