Hot answers tagged

52

I managed to do it with diskpart. What I was missing is the command to create a new partition. So here is a run-down of all the commands I used, step by step. Beware that when typing select disk 1 (step 4), your disk number may be different. Selecting the incorrect disk may result in significant data loss. I assume you know how to get to the Run prompt ...


16

First off: I'm not going to speculate about development 6-7 years into the future. This is about today, and the nearest future. For the TL;DR, see the bottom of this answer. ZFS today does not allow you to remove a vdev from a pool. It also does not have any native "rebalance" functionality (search for block-pointer rewrite, bp rewrite or bpo rewrite to ...


13

I've been using WHS for over a year now, having first built a WHS server for my parents, before building one for myself. The first benefit of WHS for me has been the automated backup of PCs joined to the server. Shortly after I built my server, the hard drive in my old Vista x64 box gave up the ghost completely. All it took to get it back was putting in a ...


11

You can run dd on the running disk. Doing so when there are heavy changes to the disk structure should be avoided. Also you should fschk the destination once you are done. The quieter the system is during the backup the better. Running a cold backup (file system unmounted) is the best option if you want to use `dd'. There are better options for backing ...


11

It is technically possible (as in "shooting-yourself-in-the-foot"), but highly unadvisable, especially if any of the disk's partitions are writable. Picture this scenario: dd starts reading the disk at the start, and merrily makes its way towards the end. When it's halfway there, the OS writes a file to the disk. The file is somewhat fragmented though - ...


10

I have been using WHS for over a year now and I really like this product. I use it as a media server to store all of my movies, music, and pictures. I have several Xbox 360s that I connect to my WHS to view and listen to all of my media content. The built-in backup feature of WHS is also quite handy as I've had to restore files on several computers. I ...


9

IP cameras are of varying quality, some behaving erratically in my experience. Dealing with their RTSP streams requires a dose of fault-tolerance. The Live555 project provides a relatively fault-tolerant RTSP client implementation, openRTSP, for pulling RTSP audio/video streams via CLI: http://www.live555.com/openRTSP/ For example, to save a camera's RTSP ...


7

OpenFiler is a great product, but I would highly not recommend it for the average home user. It isn't going to work how you expect, it will require much more configuration and it doesn't support "home" user features. It is made to be an enterprise level NAS -- that's all. FreeNAS is easier to configure than OpenFiler. If all you really want is NAS, I say go ...


7

I'm running WHS specifically for the automatic backup. I haven't seen another solution that is smart enough to back up files once that exist on multiple machines. I have a 1TB drive backing up six computers, which is pretty near capacity so I'm not able to do much in the way of shared files, but it's easier to remember that shared documents are on the server ...


7

Login to your FreeNas Machine and open the Terminal enter: mount -o rw / when done enter mount -o ro /


7

For two disks, you want mirror mode. This will cause the drives to be exact images of each other. If ZFS tries to read a block of data from the drive and it fails verification, then ZFS will automatically try to repair it. If the repair fails, it'll read it from the other drive and mark the bad drive as failed. You should get a notification that a drive ...


5

As of yet, there isn't a way to convert zpool structures. Also, there isn't a way to expand a RAIDz. To my knowledge, RAIDz is something you have to setup from the start. That said, there is an exception. If you have three disks in a RAIDz configuration, basically one disk is used for redundancy. You can concatenate zpools so you can create a second ...


5

A decent workaround that I've been using is to change the disk cache in utorrent. Go to Preferences->Advanced->Disk Cache and check Override automatic cache size and specify the size manually (MB): Set the value according to how much ram you can spare/want to use. I've set mine to 300 and it's considerably lowered the disk overload issues I'm ...


5

I have a server using md for a software RAID5, which I have grown multiple times in the past. It's a pretty simple process. First, we add our new device to the raid array. /dev/sdX is the device you want to add to the RAID group. sudo mdadm /dev/md0 --add /dev/sdX And now we resize the array. N should be the number of devices in the group (including the ...


5

I just thought I'd add my two cents and complement BjornR's answer. Instead of running a cron job to periodically kill the VLC process, one could tell VLC to run for a specified amount of time and close afterwards. This is the command that I run on my box: /usr/bin/vlc -vvv rtsp://192.168.1.128:1554/11 --sout=file/ts:/media/path/to/save/location/recording-...


4

An iSCSI target is presented to a host as a local disk. It is not suitable for sharing the same volume across multiple computers. You'll want SAMBA or NFS for this.


4

Perhaps this isn't an answer to your question directly, but my own experience has been that typical NAS hardware costs about the same as a regular PC. The only reason you might get NAS vs a PC is its lower physical profile. We evaluated the NAS vs PC question quite a bit and eventually ended up with PC, because it has significantly more flexibility for us. ...


4

Go to your FreeNAS web interface and browse to Services > SSH. Check the box labeled Enable and configure your settings to your liking, or leave as default. Click Save and Restart. Using your preferred SFTP client (e.g. I use FileZilla), connect to sftp://yourserver.com/.


4

FreeBSD and OpenSolaris seem to be the best choices for hosting ZFS With OpenSolaris, ZFS is usually versions/features/bug-fixes ahead. OpenSolaris' hardware support is nowhere near as good as e.g. Ubuntu Hardware support is getting much better with recent OpenSolaris builds but as long as your hardware is supported that shouldn't really matter. ...


4

Before you get to converting sync writes to async writes, you have a lot more problems to overcome: If this is a gaming system, how are you going to make sure that your VM doesn't crash in your intense gaming session? How are you going to make this VM visible on the network? Will your drive be able to take the abuse of a mongo 4TB virtual hard disk? (ZFS ...


4

Share the drive in Windows over your home network. Right-click -> Properties -> Sharing -> Advanced Sharing. Nothing could possibly be simpler.


4

You specifically mentioned FreeNAS and you have ZFS available to you. I'd use RAID-Z and you will get the advantages of ZFS. This is what I'm doing for a development test server with 3 x 3TB drives sliced up with iSCSI. You can look over an example with some nice screenshots at Building ZFS Based Network Attached Storage Using FreeNAS 8 which is a nice ...


4

When you write an image to a flashdrive, it will create the partition based on the specifications on the image. In your case it creates a partition of 938 MB. Because flashdrives will only show the first partition, you cannot access the rest. However, using computer management->Disk management, you normally can increase the partition and include the ...


4

The only reason you would need to use that ratio of RAM to storage space, would be if you decided to use data deduplication. It does not say that the 1 GB to 1 TB ratio is a requirement. According to a wiki: Effective use of deduplication may require large RAM capacity; recommendations range between 1 and 5 GB of RAM for every TB of storage. ...


3

What is really important is any changes. If those values increase then you have problems. If they remain stable then, while not ideal, the situation is probably acceptable - assuming of course you have working backups.


3

Go to your FreeNAS web interface and browse to Advanced > Command. From here, execute the following command: chown -R transmission /nmt/4-1000gb/tv/Lost (are you sure it isn't /mnt/ instead of /nmt/?) You mentioned that your Transmission user name is TorrentUser, so if the above doesn't work you could also try this: chown -R TorrentUser /nmt/4-...


3

Sorry to have to pull the familiar "it depends", but in this case it really does. What hardware do you have, what will the NAS be used for, what features matter to you, etc. Having a virtual NAS can be both a very good idea and a very bad idea. That said, some thoughts: The traditional weakness of virtualisation is disk IO when running from virtual disks. ...


3

I run XBMC on a couple of Zotac mini-ITX ION PCs as clients to a Linux server that stores the files in my basement. Instead of trying to bundle everything into one HTPC, I think it is much better if you run a separate NAS box in your closet or basement and then a quiet client. I'm upgrading my Linux server to a Synology DS1511+, but their two-bay DS211j (...


3

A possibile solution is unison: it could be used to syncornize stuff in different directions. It is able to detect conflict and will ask for manual fixes. It works on ssh connection, so it is secure, and you can mix operating systems too (I used form linux, macosx and windows) and saved my days. For more information see also my small blog review.


3

When I last looked (about a year ago), it only supported Time Machine via a lot of hard work - mainly on the side of the Mac in order to tell it to use the Freenas box as a target. Freenas supports AFP and if things have improved in OSX in this regard, it should work fine. For Windows, once you have set up Samba shares, it just works and works very well. ...



Only top voted, non community-wiki answers of a minimum length are eligible