The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
37 views

How to check the erase block size of a Usb flash under Linux?

How to check the erase block size of a USB flash under Linux? Someone said /proc/mtd might be helpful, while for my Centos7 server, there isn't such file. Thanks in advance. Updated on Jan 28 2016: ...
0
votes
2answers
24 views

What is Memory Technology Device?

Documentation and webpages are not very clear on this. Is it a Linux technology? Is it a type of storage device? Some other questions: If it is a Linux technology, what types of storage does it ...
2
votes
1answer
32 views

How to disable asking for root password while ejecting USB drives?

When I mount usb drive it mounts successfully, but when I hit triangle button in Thunar (Eject) - I'm asked for root password! Executing $ udisks --eject /dev/sdd in console doesn't require root ...
27
votes
6answers
2k views

How can I securely delete the contents of a thumb drive so data can't be recovered.

I would like to know how to delete a USB flash drive via the terminal if possible so data can't be recovered.
0
votes
0answers
28 views

FORENSIC PURPOSE - Acquire Android image using flash drive OTG

In Linux, the dd command is used to pull the image from the smartphone to computer. And of course, the smartphone need to be rooted before the dd command launched.From the research i do and multi hand ...
1
vote
0answers
7 views

Getting mmc_block to display more than 8 partitions

When you format an SD card or a USB drive with the Chromebook Recovery Utility, it creates twelve partitions. It also leaves the rest of the memory unallocated. I want to be able to use this space as ...
0
votes
1answer
60 views

Can't access flash drive on kali

I have flash drive but it can not be detect on kali and ubuntu. Windows can detect it but can't format it. Even in gparted it isn't listed. I refresh devices on gparted and get a warning: Libparted ...
0
votes
1answer
67 views

How to know perfect filesystem parameters for flash drive format

I have a flash drive and using btrfs on it with default parameters. And now I'm going to slightly improve read/write speed. I see that "play the game" with page and sector size can helps me. But ...
2
votes
0answers
22 views

Any way to perform failsafe upgrade without having two images?

I'm figuring out a failsafe upgrade scheme for my embedded Linux device. I want to be able to upgrade the kernel and RFS, and have the system revert to an older image if the new image fails for some ...
0
votes
0answers
8 views

nand flash ubi_ctrl but no ubi0

I am trying to mount my nand within my linux system but I cant mount the device. Below are the devices specifically I am trying to mount mtd2. I appreciate this question is lacking slightly but I ...
0
votes
1answer
79 views

Mount a USB unit via ssh to transfer music using Amarok

I want to use Amarok to transfer my audio files to my cellphone (Android). Amarok allows transfer files using only USB drives. Then, I though in mount my cellphone using ssh or sshfs. At the moment, I ...
5
votes
3answers
22k views

Run CentOS 6 from a USB flash drive

I have a 16 GB USB flash drive that I would like to install CentOS 6 on so that I can boot into it on other computers. The reason for this is because I am going to be upgrading to VPS hosting and I ...
1
vote
2answers
549 views

Could not mount UBIFS on SD card

I guess this is not a big problem, still I can't see what's the matter. I'm building Images for an Embedded Linux (2.6.39) ARM9 System with Buildroot 2013.11, which is booting from an SD card. I was ...
1
vote
0answers
60 views

How to check UBIFS for errors?

My ARM system uses NANDFlash and UBIFS. IS there a command that will let me check the filesystem, report any errors or warnings, and also report the current compression level?
8
votes
6answers
20k views

How can I low-level format flash memory in Linux?

My friend was having problems with a USB flash drive, and I suggested he do a low-level format. Then it occurred to me that I don't even know how to do that in Linux. So... how can I low-level ...
1
vote
1answer
51 views

How to diagnose potential JFFS2 flash problems?

I have a large fleet of embedded ARM systems using the JFFS2 filesystem. Are there any particular commands or log file entries I can query to gauge whether they are having any corruption or other ...
1
vote
0answers
112 views

Error when trying to mount MTD device from Linux

How do I mount an MTD device from Linux? The mount command is failing, see below: [root@10 ~]# cat /proc/mtd dev: size erasesize name mtd0: 00400000 00080000 "UBoot" mtd1: 00400000 00080000 ...
2
votes
0answers
87 views

How to check flash memory for ECC errors from the Linux command line

Is there a way to check flash memory for ECC errors from the Linux command line? Note that I do not want to correct ECC errors. I just want to detect errors and list page addresses where they occur.
1
vote
1answer
92 views

fixing an Ubuntu install on a flash memory with defective blocks

I've recently bought a cheap mini-PC with an ARM SOC and a 8GB builtin flash memory. I've flashed the Ubuntu Trusty image on the internal NAND but after a while i've started noticing random file ...
2
votes
0answers
72 views

How to use blktrace to monitor the eMMC Flash access pattern?

I'm trying to simulate a FTL(Flash Translation Layer) algorithm and evaluate its performance. What I need is a trace file of a flash access(containing information about block and page access). I'm ...
1
vote
1answer
367 views

Can you scp a device file?

My flash is partitioned as /dev/mtd0 /dev/mtd1 etc....And I want to scp one of the partitions over to my pc so I can analyze it with a hex editor, but everytime I try to copy it with scp I get -not a ...
1
vote
0answers
146 views

Print list of bad blocks in NAND flash from user space

Is there any user space tool that can retrieve and dump the list of bad blocks in a NAND flash device? I've checked the mtdinfo command line utility, and also searched /proc and /sys, but couldn't ...
1
vote
0answers
132 views

Flash memory and set to read only , Is it virus?

Becuase some of limitation of MS.Windows, my friends and my family gime their flash memory to solve their problem. Such as format, partitioning in Linux with the cfidsk ,parted, sfidsk(dump and ...
4
votes
1answer
492 views

Is `UDIF read/write image` bootable on non-Apple hardware?

Some guides on the internet suggest that it is possible to convert ISO disc image files (.iso) into an non-.iso image format (.img or .dmg) with hdiutil on OS X. However, the manual page for hdiutil ...
54
votes
3answers
7k views

What NOT to put on an SSD?

I bought an SSD and I am going to set up my desktop system with a completely fresh Linux installation. SSDs are known to be fast, but they have a disadvantage: The number of writes (per block?) is ...
0
votes
0answers
89 views

Any tool or command can detect flash disk or SSD memory type?

Here I mean "SLC" or "MLC", basically, how many bits per cell for the NAND memory. Is there anything we can get? Thanks.
0
votes
1answer
209 views

USB forcely turn write protection off

I have a USB-flash device (SanDisk SDCZ33 BM120423519D) with no hardware switch, which is stuck in readonly mode: # hdparm /dev/sdf /dev/sdf: SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 ...
7
votes
5answers
2k views

Run entire OS from flash drive

I am looking for a distribution that can run the entire OS from a flash drive. This question is NOT about being simply able to boot and/or run OS from a USB stick: what I am looking for is a ...
11
votes
5answers
43k views

How to salvage an unreadable usb flash drive

I have a 16GB USB flash drive that somehow got corrupted to the point in which even fdisk -l can't find it (I get a one-line error message saying: "Unable to open /dev/sdc") However, it is being ...
2
votes
1answer
1k views

Problem with formating Flash Disk

I have intsalled Arch Linux ISO file into Flash disk through following command : dd bs=2M if=~/archlinux-2013.11.01-dual.iso of=/dev/sdd Now, I'm trying to format flash disk with following command ...
0
votes
0answers
130 views

impossible to make fsck

I'm trying to make a fsck to a pendrive and it says me: e2fsck 1.42.8 (20-Jun-2013) Pass 1: Checking inodes, blocks, and sizes Error reading block 40402759450689 (Invalid argument). Ignore error? ...
0
votes
2answers
155 views

Use/See whole the flash memory space

When we bought a N Giga Byte flash memory, the free space that the OS provide for us, is less than N GigaBytes. For example, for a 2 GB flash memory, total space that we can use, is 1.86 GB. As far ...
2
votes
0answers
193 views

Reduce cache size of flash storage devices

For various benefits Linux uses a memory cache for writes to removable stogare devices like memory sticks. This cache seems to be quite large on my system, which leads to some annoying behavior. For ...
0
votes
1answer
842 views

What do these errors mean in sysbench disk test?

I have been running a continuous test of sysbench disk tests on my Linux system that uses compact flash. I am seeing some errors in the output, as shown below. What do these errors mean exactly? Do ...
1
vote
1answer
100 views

btrfs confused about subvolumes

I'm starting out with btrfs on my embedded Linux system. My system currently has a single SD card used for the rfs. What I'd like to do is have a way to snapshot both the system files (currently ...
2
votes
1answer
540 views

What actually happens when the checksum fails for a file using btrfs?

I'm testing using btrfs on my embedded Linux system. It uses a uSD card for the rfs. This system is remotely deployed so there's no human sysadmin to take care of it. My question is what happens ...
0
votes
2answers
1k views

Kernel does not skip bad blocks when mounting filesystem

I am developing for an embedded Linux application using friendlyARM's micro2440. It runs on a Samsung s3c2440 ARM processor and uses squashfs in its NAND flash. Recently, some flash blocks went bad. ...
2
votes
1answer
904 views

btrfs on SD card, what does “Btrfs detected SSD devices, enabling SSD mode” mean exactly?

I'm experimenting with using btrfs on my Debian Linux armhf system. The rfs is on a micro SD card. On bootup I get the message "Btrfs detected SSD devices, enabling SSD mode". What features does ...
1
vote
1answer
141 views

How can I determine the cause of CF card corruption?

I installed qnx in my CF card and made it bootable and it was working well. However, yesterday it stopped working while my system was running. Checking the filesystem revealed that it was corrupted. ...
1
vote
1answer
213 views

How to detect imminent MTD device failure

We write software that runs in third party devices. On one of the devices we support, the manufacture tells us not to write to the flash drive, or we risk using up the limited write operations it ...
3
votes
1answer
841 views

rootfs.jffs2 files system won't fit in mtd3

I have a files system that I am trying to put in flash memory mtd3 partition. I first boot using uboot and then do run sdboot to boot using SD card as shown below: U-Boot-PetaLinux> ...
1
vote
1answer
63 views

Is it okay to run my system off a flash drive?

I've been running my main system off a Linux persistent LiveCD flash drive for a couple months. The drive has a 2 GiB fat32 boot partition, and a 12.91 GiB ext2 casper-rw partition. I'm ...
3
votes
1answer
193 views

How to determine how many bytes / hr are being written to my SD card

I have a Debian embedded Linux system that uses an SD card as the RFS. What is a reliable way to determine how many bytes / hr are being written to the SD card?
1
vote
1answer
2k views

Memory display using md in u-boot

U-Boot-PetaLinux> md 0xc 0000000c: 2201c2a0 1a8441c5 90031018 52011010 ...".A.........R 0000001c: 0045c903 022c19ae 01077620 ca173dc0 ..E...,. v...=.. 0000002c: 0804e426 15dd0c12 201092c1 ...
4
votes
2answers
3k views

How can I find the actual (dd) size of a flash disk?

When I put a flash disk into a card reader and make an image with dd, I see the actual size of the disk, like 512483328 bytes in the following example: 1000944+0 records in 1000944+0 records out ...
1
vote
1answer
411 views

flash_erase & nandwrite seem to work, but uname -a shows the same kernel version

I've seen this question: How can I flash_erase mtd0? I have a similar problem with my mini2440. When I use flash_erase /dev/mtd2 0 0 and then nandwrite -p -N /dev/mtd2 uImage-mini2440 ...
2
votes
2answers
965 views

Understanding smartctl output for a CF card

I'm testing SMART support on some Compact Flash cards. After running smartctl -A on my card I'm getting the output below (also available here: http://pastebin.com/BX8GcLCX). The UPDATED column says ...
2
votes
1answer
646 views

Do I need to format a CF before installing Linux?

I recently purchased an 8GB Patriot CF card, like this one . I also have a Syba CF/Sata adapter. I put these together into my mini-itx computer (connected via Sata cables, not USB) and booted an ...
1
vote
1answer
4k views

How can I flash_erase mtd0?

I am trying to find a way to nandwrite my mtd0 partition which contains my u-boot environment. When I try to flash_eraseall /dev/mtd0 though I get: flash_eraseall: /dev/mtd0: Permission denied ...
8
votes
2answers
422 views

Connect alauda driver to an mtd device

I have a USB card reader, an Olympus MAUSB-10. It provides direct flash access to SmartMedia or xD cards, using the Linux alauda driver. This is different from a typical card reader which just ...