Nas4free software raid howto




















The Fressnas itself was running from a USB stick. Now after I re-installed Freenas back to the stick again. It can run but I need to "restore" my original disks with mirror setup. The data on the disks are very important and I can't format them. What am I supposed to do? Joined Sep 2, Messages 1.

Import pool. I can't see such option. I can import my disks but the file format is defaulted to "ZFS storage pool device".

Joined Nov 6, Messages 6, Freenas 9. Click to expand Ericloewe Not-very-passive-but-aggressive Moderator. Joined Feb 15, Messages 17, FreeNAS isn't for everyone.

If this isn't a good match for your needs, there's nothing wrong with that, but better you figure that out sooner rather than later. That's not the lesson he was indicating. If you value your data which we tend to assume people do , you'd want a redundant pool configuration--mirrors or some sort of parity RAID.

The "User Guide" link at the top of the page in the black bar across the top. Uncle Fester's guide in my sig is also pretty good, I think. I won't take your money, but I also can't guarantee I can help you along the way--though from what you've said, I'd expect getting your pool online should be fairly straightforward, as long as both disks are still in good shape.

For that matter, I'd be really surprised if it weren't pretty straightforward to do the same with NAS4Free, though I don't have any experience with that since iX bought the FreeNAS name and applied it to a completely different code base. Use Import Volume, not Import Disk. You can paste images directly into your posts, or upload them to the post--there's no need to link to external hosting services, and doing so is discouraged.

It does seem empty, which it shouldn't be if both disks are attached and were in a ZFS pool. Go to the shell and run zpool status , zpool import , camcontrol devlist , and gpart show , and post the output.

DO NOT use the Volume manager; you'd create a new pool formatting your disks and destroying your data if you do so. PNG Here you go! As far as that shows, your two disks have no partition table at all. That isn't a good sign. Similar threads. With datasets, all of these partitioning efforts are unnecessary. A ZFS dataset acts like another mounted partition with no locked-in size. The quantity of disk space it takes up is only as much space as you use in populating it, or children datasets of it of course, it can never be larger than the size of its parent zpool.

Additionally, each dataset can have its own special configuration by modifying different behavioral variables. For example, you can determine quota and permissions independently for each dataset.

Finally, datasets provide more flexibility if you need to snapshot or clone your filesystems. Enter a name e. The remaining options can be configured according to your requirements. Remember, when configuring some of these services to select the correct mount point for your dataset e.

Occasionally you may have to replace a hard disk in your zpool that has become defective. Power down NAS4Free, then identify and replace the defective disk with one of equal storage capacity using, if possible, the same SATA port [Pro-tip: Take the time to label your disks correctly e.

It will make physically identifying the defective disk much easier! If you were able to reuse the same SATA port, the device name should be same as the defective disk e. One of the many great features about using ZFS is its snapshot capability. A snapshot is a read-only reference to the state of a dataset at the moment the snapshot was taken. It is a reference, and not copy, because at the moment it is taken, it takes up no additional space.

However, as data within the dataset changes, either because files are modified or deleted, the snapshot consumes disk space by continuing to reference the old data. This behavior allows you to easily recover files if necessary, but in doing so prevents disk space from being freed until the snapshot is deleted. Enter a name for the snapshot e. Here you can schedule a time the system should perform the snapshot and how long it should retain them, resulting in the oldest snapshot being deleted when the deadline is reached.

This allows you to simply navigate to the snapshot directory your interested in and copy files from that directory to the current filesystem. Another way you can recover files from snapshots is to clone one to another directory.

This approach has the advantage of allowing you to share out the cloned snapshot directory, say using CIFS or NFS, for some period of time until files are recovered. For this I have to install FreeBSD and I still don't know how to use the two piece of software or if they will work with a file as opposed to the raw drive. If the recovery software -- or any software -- is trying to write back to the mirror, it may actually be damaging the data. The more the drives run, the more data may be lost.

This is why people advise copying the disk and only working with the copy. You could check in if your NAS4Free system has been configured to send system emails.

It's read only mode, supposedly. I am running in a RAID 1 emulation this time under Windows to see if the scan will be able to recover the files.

If not, I am close to giving up. Doesn't look like anybody on NAS4Free has any idea how to approach this issue. Also, I don't know the best way to go about making a copy and playing around with it. The easy way to do this is to buy another drive of the same size. Connect the new drive, then use dd 1 to duplicate the old drive. Be careful, it's easy to get source and destination mixed up. I am running in a RAID-1 emulation this time under Windows to see if the scan will be able to recover the files.

Click to expand This will copy the drive, not the mirror But after that, what will I do with the copy of the image? I know there are man pages, but I just can't follow those things unless somebody shows me how to use it. If I copy with dd just one drive, will this be sufficient?



0コメント

  • 1000 / 1000