![]() fwbuilder uses objects and functionality like drag-and-drop and search-and-replace to help ease configurations. Let's look at some of the most powerful yet easy-to-use options available.įirewall Builder (fwbuilder) : This is a flexible and powerful tool that allows you to build firewall configurations and policies for multiple firewalls/machines based on iptables, ipfilter, OpenBSD pf, Cisco ASA & PIX, or Cisco FWSM. The good news, however, is that there are many graphical user interfaces (GUIs) you can use with Linux. Given there's only a native command-line interface (CLI) for the two, though, there can be a learning curve. grub-install /dev/sda grub-install /dev/sdb grub-install /dev/sdc (This is installing grub on each drive, so if drive fails we can boot off another.As you may know, IPtables and NetFilter combine to make the most popular firewall solution in Linux.for i in /dev /dev/pts /proc /sys /run do sudo mount -B $i /mnt$i done (Mount all special folders so we can run commands in a chroot environment.mount /dev/md0 /mnt/boot (md0 is my raid1 boot mdadm array).mount /dev/md1 /mnt (md1 is my root mdadm array).When installer is done, don’t leave live session.Set boot loader to RAID1′s MD (It always fails for me. Map /boot, /, and swaps (if swap partitions were made). Run Installer – Do advance partition layout.(I don’t recommending RAID’ing swap spaces, or don’t make swap partitions at all, use a file based swap once the system is running) Then use mdadm to make RAID1 /boot, RAID5 root (/) and format swap partitions. Use gparted (or any paritition tool) to make /boot and root (/) and swap partitions on each drive. Sucsess! My new drive dock does work with SMART read outs! Back to saving peoples data off old hard drives. After reading smartmontools mailing list archive, most new USB3 devices worked with the -d sat option.Ĭopyright (C) 2002-13, Bruce Allen, Christian Franke, = START OF INFORMATION SECTION = Please specify device type with the -d option. So when I got my new USB 3 enclosure (impulse buy, I did no research) I was sadden by ~ $ sudo smartctl /dev/sdb -aĬopyright (C) 2002-13, Bruce Allen, Christian Franke, /dev/sdb: Unknown USB bridge To continue, add one or more '-T permissive' options.Īnd then found out the vendor id:product id was in the smartmontools bad list. Smartctl 6.2 r3841 (local build)Ĭopyright (C) 2002-13, Bruce Allen, Christian Franke, Read Device Identity failed: scsi error unsupported scsi opcodeĪ mandatory SMART command failed: exiting. I recently purchased a USB 3 drive dock (Orico 6619) because my current drive dock (MyGica… no model number) doesn’t support SMART info with smartctl ~ $ sudo smartctl /dev/sdb -a Now you can mount /dev/mdXpX, or run other file system tools. Mdconfig -a -t vnode -u 0 -f /path/to/img.file ** Now to do this in FreeBSD (Like Nas4free/FreeNas) If needed you can symlink /dev/mapper/loopXpX to /dev/loopXpX, so application like gparted can understand the partition layout. Then it will map each partition at /dev/mapper/loopXpX. This will look at that image file’s partition table (I can only confirm MBR support) and map to a loop device. But this does not work for images with partition tables. I knew about losetup and mapping a loop device. PEERGUARDIAN LINUX WINDOWSFor NTFS partitions it auto mounts to my windows system and I can grab what ever I need.īut I wanted to do this in linux. Open it up, point to the raw image on my nas, it will ask me what partition to mount. When I want to access a single file off that image I’ve been using a great windows application called ImDisk. PEERGUARDIAN LINUX FULLWhen I do full backups of a hard drive, mostly for recovery reasons, I almost always use GNU ddrescue. Shadow: format = zfs-auto-snap_hourly-%F-%H%MĬomment = ZFS dataset with Previous Versions enabled Here is example config with if using zfs-auto-snapshot hourly. Lastly to have samba to use ZFS snapshots you’ll need shadow: format, vfs objects, shadow: sort, and shadow: snapdir added to your samba share. Verify zfs list -H -o name -t snapshot -r tank | head -n 24 output first)ģ0 0 * * * zfs list -H -o name -t snapshot -r tank | head -n 24 | xargs -n1 sudo zfs destroy Or you can use cron to do hourly snapshots for you.Īlso cron can clean up old snapshots. Example for hourly snapshots of the tank. The easy way to manage automatic snapshots is to use ‘zfs-auto-snapshot’ that is bundled with zfsonlinux. A snapshot can be made manually or automatically. If you want ZFS’s snapshots to show up as previous versions in Windows File Shares you need to have ZFS backed, samba data set with 1 or more snapshots. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |