filesystem suggestion

Hello,
I had a problem with my harddisk( i accidentally removed all in a ‘senil’ moment). Well I recovered some parts and I’m under the impression that with a different filesystem(instead of the default (fat/ntfs/hfs+)) I would have been more successful in recovering the files. Therefore I purchased a new storage disk( 3TB) and created 4 partitions(1-1-.5-.5) and formatted as ext4. Everything fine up to this step. My problem is that this external storage I want to have available via the router which has a USB connection at the default router IP address. This way I don’t have to have up any computer and is accessible always from any other devices(TV,DVD,etc). The problem is that the router doesn’t support any other filesystem other than default ones. As we know(us using Linux) everything is MS centric and Mac supported.
My question is how would I be able to setup things and be able to see use a different filesystem (if possible) on the storage.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It would seem like you have three options:

  1. Don’t use the router as the host of the external device. Every
    machine on your network could be remotely accessed; setting up remote
    access isn’t the exclusive domain of routers, SANs, NAS’s, or anything
    else. Remote access services are nearly ubiquitous.

  2. Get a better router.

  3. Use the filesystem that the router does support. I’d be surprised
    if that was limited to NTFS because the core couldn’t do anything else,
    but often even if other filesystems are supported the web-based
    interface that lets you configure things will only handle a subset of
    the possibilities. In that case, you’re stuck unless you go with one of
    the other options. NTFS isn’t a terrible option for this type of thing,
    other than being slow, bloated, subject to fragmentation, etc., but a
    storage location for long-term storage doesn’t need to perform really well.

With regard to your original problem, while it’s still a little early
for super-reliable-production use, btrfs has snapshots which could
potentially have helped post your errant ‘rm -rf’ (or whatever command
you used). I think other tools let you do snapshots as well for quick
recovery. In the end thinking about off-machine long-term storage as
you are doing is a good idea because eventually hardware goes bad and no
amount of software/filesystem magic can save you in that case.

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQlrdtAAoJEF+XTK08PnB5poIQALsBaWMDsSiDa1OGoCDrBLef
Vw4An0Kh+3RODlJzTVM+gLFgK01Qe/ghjCRxptzIOJEE0dXcyXaFlNVoOjEQyBmn
xCsX+G/i8FgoNB2oA95dYnOsP9NIdXxpTzCo0N0QgKSMX1HTaMX+dp2Qsff3D70k
O4A8fo+b23wfxDm3xsRUdMkvUp+pCQfAQoiscTWIJs5bsBSlXTHrCmmy6qMvWCkJ
9eatTuWPSYwwstIbA3kYssSS88JupYStBRF3PFSbbkFnmOW7aHXXMYM4hhOyHe3b
3l/AiPJj0PIwLak7OHC8t57G3U72e7QzJY2vBVeN735iEHRLgg0TA1V/mDOEyKl0
SxuKZ26wA6rEjTOmMR9JDR3iNQf1EDaPKZAJEJKmL4+w4sCvC5tOZpOj8cfag6fI
BJOo0UzTBVhk7ZXWX45YZ0Zg46xpRnR5BebGvX+PGo9beI6A1o5VJ2VOtB4u5+c+
zHVrZq2yUl5ocQtbGFvcnQXc9EQv60iNkgqbA3F6htGkLOK21h0LiRggudxGQK+l
NXmxnOWz6O3SQNxOakZj0QFQ8wLKM9DQgs8Gw9z1/TTw5n9FNb3Xco/05vFVv//C
r8zq/hEF2W0i+7B+TqvK7A1cEn9CHK0+Q/IhgdLQoZgpS7b0oWjXkdB0DuW7V8le
IumU+3OYi5NUUfaYlQzT
=eqz5
-----END PGP SIGNATURE-----

Thank you ab for you reply. As you said I have all options described by you:

  1. Not the best solution but I have to have the machine up all the time. Tried that for a while and I might get back to it.
  2. Well unfortunately the router is very new(2 months - Linksys E4200-v2). I was not aware of this limitation at that time(USB filesystem type).
  3. I will still play with the new storage to see to see if I have better luck. Maybe having just one huge partition(3TB) will work and I will try to format it with different filesystems. The interface has no options but it recognizes the storage without a name and 0 size. I will check further as I said.
    I’m trying to have a different filesystem because as I said the recovery tools used(as part of Parted Magic set) were not very successful in recovering my files(70%). I still have the image and the hardware was not used until I figure out if there is a better way to try restore it after a rm -fR on the drive. (mounted partition and instead of umount in a ‘senil’ moment I decided to unmount it with rm). I was thinking that someone can have a trick to have a ntfs partition from where to have a link to the file on another type of partition? I don’t know but something along that maybe?

On 2012-11-05 01:26, dmera wrote:

> I’m trying to have a different filesystem because as I said the
> recovery tools used(as part of Parted Magic set) were not very
> successful in recovering my files(70%). I still have the image and the
> hardware was not used until I figure out if there is a better way to try
> restore it after a rm -fR on the drive.

There are commercial tools out there that do a better restoration of
deleted files on fat or ntfs, and not that expensive. A friend of mine
came with a destroyed ntfs disk which I partially recovered with
photorec. But the web page of that program pointed to other comercial
tools, and we had to use it, and the results were surprisingly good.

> I was
> thinking that someone can have a trick to have a ntfs partition from
> where to have a link to the file on another type of partition? I don’t
> know but something along that maybe?

How would a symlink help you? The router would still have to mount that
different storage (yes, recent Windows can have symlinks in ntfs, I’m told).


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

Thank you robin_listas. I will give it a shot to photorec. As I said the partition had no other activity on it other than an image of it created on another partition and the attempt to recover itagain the files were saved on another partition. so no write activity on the partition damaged by my rm command.
symlink would help me to have a small partition in ntfs which could be visible to my router USB from which to link to other files in a partition in ext4(or another type). I’m under the impression that any other filesystem types might give me better options in recovering the data in case of an accident. Does it make sense?

On 2012-11-07 12:06, dmera wrote:
>
> Thank you robin_listas. I will give it a shot to photorec. As I said the
> partition had no other activity on it other than an image of it created
> on another partition and the attempt to recover itagain the files were
> saved on another partition. so no write activity on the partition
> damaged by my rm command.

Typically I work on the image with Linux tools (you can loop mount it).
Windows tools need to work on the original, but then I use the image to
restore the original if needed (which is why forensics prefer Linux, I
was told).

> symlink would help me to have a small partition in ntfs which could be
> visible to my router USB from which to link to other files in a
> partition in ext4(or another type). I’m under the impression that any
> other filesystem types might give me better options in recovering the
> data in case of an accident. Does it make sense?

None :-p

Notice that the router needs to be able to read and write both
partitions… the target and the targeted.

Besides, all partition types have problems recovering. Actually, there
are good (commercial) recovery software for FAT and NTFS (many people
need them, so they make them: good business). There is also a new
utility to recover ext4, with a suse-studio boot image to run it. I
forget the name, but I have it burned to an usb stick.

These tools are very slow, like in several hours.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))