[00:02] yes it's UEFI [00:02] there's even a UEFI guide that you can run [00:04] my UEFI version is H97M Pro4 P2.00 [00:04] by ASRock [00:07] I think meant GPT instead of UEFI [00:08] I think bekks meant GPT instead of UEFI [00:08] conrmahr: normally "raid array" means "two or more disks" [00:09] yes [00:10] i had 2 WD 4TB HDDs Raided together [00:10] on a Synology NAS [00:11] Can I delete one of them on Ubuntu Server so I can transfer the backup HDD from the NAS to the Ubuntu Server HDD over the network? [00:12] conrmahr: your question is very confusing [00:12] coreycb: you had a 2-disk RAID array [00:12] coreycb: sorry [00:12] conrmahr: you had a 2-disk RAID array [00:12] yes [00:13] conrmahr: you have broken that array [00:13] conrmahr: and you want to install one of those 2 disks as an external drive on your server? [00:13] yes, but internal drive [00:13] conrmahr: ok [00:14] conrmahr: so to make the formerly RAID disk visible to your new system, you should just need to format it (partition table and all) and put a fs on it [00:14] i'm sick of Synology. I want to use Ubuntu Server. [00:14] conrmahr: but then I really don't understand the last question: "Can I delete on of them on Ubuntu Server so I can transfer the backup HDD from the NAS to the Ubuntu Server HDD over the network?" [00:15] conrmahr: a) delete one of "what" on Ubuntu Server? [00:15] conrmahr: b) transfer a HDD over the network? [00:15] ok I have about 3 TBs of data on HDD 1 [00:15] and HDD 2 is a backup [00:15] backup? [00:16] conrmahr: RAID mirror or backup? [00:16] exact mirror [00:17] conrmahr: so ideally, you'd just plug in HDD2 (or 1) into your server and it would work, but it's formatted as RAID member? [00:17] so I want to take HDD2, delete everything and format it for Ubuntu Server, then over the network copy all the files from HDD1 with a network mount. [00:17] conrmahr: so if it's plugged into your server now, I'd expect you to be able to edit the partition table (fdisk, cfdisk, parted) and delete all partitions and create a new one [00:18] *new partition [00:18] I tried that but it didn't reconize because of the format that Synology uses. [00:18] Synology uses standard linux RAID AFAIK [00:18] conrmahr: why would you need to recognize the format that Synology uses? [00:18] ok [00:19] conrmahr: you're deleting all the partitions, afaict [00:19] recognizing the format might allow skipping the repartition and reformat steps :) [00:19] when i do "sudo fdisk -l" [00:19] sarnold: that's true, but conrmahr seemed ok/resigned to that :) [00:19] actually, I guess his server recognizes the raid mirror & automatically starts it as a degraded RAID [00:20] or something [00:20] JanC: oh that could be ... [00:20] JanC: ooh [00:20] that would explain the "in use" [00:20] JanC: didn't think of that [00:21] conrmahr: need to step away, sorry, but if JanC is right, you'll need to stop that case (possibly with mdadm) [00:21] what do i do after [00:21] actually looks like i got it removed [00:21] i don't see /dev/md127 anymore [00:22] i do i create a new primary partition after i type [00:22] $sudo parted /dev/sbd [00:26] so i did "(parted) print" [00:26] and it says the Partition Table: gpt [00:26] with no partition [00:28] alright, now you've got to decide what you want the disk to do on ubuntu -- if you want to use mdadm to create a mirror, then format ext4, then copy data.. or use zfs to create a degraded mirror, add a filesystem, then copy data over.. [00:29] So I just want it to store media files [00:29] what is happening here E: Sub-process /usr/bin/dpkg returned an error code (1) [00:29] i have a 60GB SDD for just the Ubuntu OS [00:31] I"m just wanting to set up these 2 WD Red 4TB HDDs as secondary drives for a NAS. [00:32] conrmahr: you want to create a new RAID? [00:32] Velus-universe: it means "look higher in the log to find out what the error is" [00:32] no, I just want to get this working and not lose my data. [00:33] in what log [00:33] so you want both drives as separate disks in the end? [00:33] yes [00:34] Install them like they are fresh out of the box [00:34] with nothing on it [00:34] well, if there is nothing on it, you also can't put files on it ;) [00:35] Velus-universe: the apt-get run [00:35] ha, true. But I was hoping to clean one, transfer the data over the network, then clean the next one and install it. [00:35] ok its hissing about a folder missing [00:36] you'll need a partition & a filesystem, but you could also make it such that you have one filesystem spread over both, etc. (there are lots of options...) [00:37] http://pastebin.com/e0Jk8GcX that is the log with it [00:37] when you say file system, you mean like OS? [00:37] no, the filesystem is what remembers which file, directory, etc. is where on the disk [00:37] like ext4, NTFS, FAT32, etc. [00:38] Velus-universe: check dmesg to see if you have errors, from the scsi layer or memory problems.. [00:38] oh right [00:38] Velus-universe: something like dmesg | tail -30 ought to be enough to give you an idea if there's anything serious [00:38] so would you recommend NTFS if I was sharing it with other Mac and PC computers? [00:39] if you mean sharing over the network, then no [00:39] what do you mean by "sharing it with"? [00:39] yeah sharing over the network [00:39] i want to make the device a NAS/Media Server [00:39] http://pastebin.com/wJ7Y88i1 [00:40] Velus-universe: good [00:40] Velus-universe: check df -h -- are any filesystems at 100%, or close to it? [00:41] nope all 1 or 2 % [00:41] or 0 % [00:41] Velus-universe: alright, try apt-get install -f [00:42] http://pastebin.com/TQ62TRZB [00:42] might also be useful to check df -i [00:43] same all 1% [00:44] JanC: definitely good idea, it's something I overlook all the time.. [00:44] so any recommendations on the filesystem for NAS? [00:45] conrmahr: it all depends on how you want to use it, how much RAM you have, what Ubuntu version this is, etc. [00:45] and the type of files too [00:45] only 8GB DDR3 now [00:45] conrmahr: i'm partial to zfs; it provides compression, mirroring, snapshots, and other cool features; see https://pthree.org/2012/12/04/zfs-administration-part-i-vdevs/ for a great series of blog posts that describe it well [00:46] but will upgrade to 16GB later [00:46] and you could later add the second drive to the same filesystem with ZFS [00:46] basically a lot of mpg, mkv files for TV and Movies [00:46] i wonder why this aint working then [00:46] that I will run Plex Media Server over [00:47] Velus-universe: I'm not sure. the next step is to save aside your dovecot configuration if you hve any, apt-get purge the docvecot package, then apt-get install the package again [00:47] hwo do i patget purge [00:48] and also i got rid of the dovecot to start again [00:48] "apt-get purge dovecot" should do it [00:48] im still getting the problems [00:50] ok i rmeoved dovecot-lmtpd and it worked now [00:50] so is zfs easy to use for a noob? [00:51] conrmahr: I think it's easier than mdadm or lvm [00:52] probably nothing comes close to the ease of the synology [00:53] well once i have it set up i should be golden [00:54] I worked on RHEL and Ubuntu VPSs for web development [00:55] but never had to install hardware [00:57] where's the zfs ubuntu repo? This looks like Debian. [00:57] heh, I know the feeling, I've used linux for years, but only installed it a few times. the installer ... [00:57] conrmahr: in xenial, zfs is included; in wily, it's done via dkms packages. earlier than that, and you'll want to use some pakages from a PPA instead [00:59] i have 14.04.4, is that xenial? [00:59] so i can just do apt-get? [00:59] that's trusty [00:59] what's PPA? [01:00] a personal package archive; in this case, darik horn has zfs packages built for precise, trusty, and wily here https://launchpad.net/~zfs-native/+archive/ubuntu/stable [01:01] gotcha [01:03] alternatively, you could try installing Ubuntu 16.04 (xenial) beta instead [01:03] that's what I did last week with my new computer [01:03] so far so good [01:04] final release of 16.04 should be in two weeks, I think [01:04] it only took two or three minutes to set up my nine-drive zfs array [01:05] nice :) [01:12] which zfs package should i install for trusty [01:12] zfs-fuse? [01:12] no, skip that [01:12] i installed the ppa repo [01:12] don't i have to install the package? [01:13] you do, but zfs-fuse is an ancient and terrible thing [01:13] oh [01:13] install zfs-linux -- hopefully that'll install whatever else it needs [01:13] how about ubuntu-zfs? [01:15] that might install everything from his repository in one go; using zfs for the / filesystem is a bit difficult, I wonder if that packge exists to help the zfs root case.. [01:16] i did a apt-cache search [01:16] and it says [01:16] ubuntu-zfs - Native ZFS filesystem metapackage for Ubuntu. [01:17] zfs-dkms - Native OpenZFS filesystem kernel modules for Linux [01:18] might as well go with ubuntu-zfs. it'll probably do the right thing. [01:19] done [01:20] so can you walk me through how to create a new filesystem and partition? [01:20] with parted right? [01:20] zpool create -n /dev/disk/by-id/.... --- pick the device name for the 4tb drive [01:20] zpool create will know how to partition and format the disk [01:21] oooh [01:21] i like i like [01:21] dang, i've got to take off in a minute.. [01:21] the -n is a no-op mode, to make sure it looks fine [01:21] take it off if you like the way the command output looks [01:21] and re-run it.. [01:21] FRIDAY NIGHT! [01:22] ok [01:22] ah I got the command wrong, "zpool create -n poolname /dev/disk/by-id/..." [01:23] so if the disk is /dev/sdb [01:24] it would be "zpool create -n poolname /dev/sdb" [01:24] do i have to create a poolname? [01:25] the downside to the shortname /dev/sdb rather than /dev/disk/by-id/ata-WD_..... is that the long name shouldn't change; hte short name can change based on which drives are brought up first by the bios or os [01:25] yeah, a lot of people pick 'tank' or 'pool' or 'srv' [01:25] heh [01:25] aggr :) [01:25] aggr? never seen that one before :) [01:25] netapp [01:25] ahh [01:26] i can find the long name right? [01:26] export and import it [01:26] conrmahr: alright, after that, "zfs set compression=lz4 poolname ; zfs set atime=off poolname ; zfs set checksum=sha256 poolname ; zfs create poolname/movies ; zfs list" :) [01:26] patdk-lap: good point. [01:26] conrmahr: time to run, have fun :) [01:27] why checksum sha256? [01:27] that would make it slow [01:27] because I trust it more than fletcher4 [01:27] i like trust [01:27] sure, it's *better* [01:27] but the level of difference is really small :) [01:27] actually [01:28] have to have an ecc error from the disk first [01:28] i do need my p0rn fast though [01:28] ... conrmahr if you're not going to have any redundancy anyway, you don't need the better checksum. heh. [01:28] patdk-lap: hmm. I hadn't thoght about that. [01:28] so like later [01:28] I would keep with default checksum, unless your going attempt dedup [01:28] when i add the 2nd drive [01:28] and i just want to clone it [01:28] patdk-lap: .. is that why pool scrub runs at only 400 MB/s? :) [01:29] would i just do an rsync? [01:29] sarnold, no [01:29] that more has to do with iops [01:29] and well, transaction sizes [01:29] so much metadata to read and verify per block of data [01:30] well, figured out why some of my disks are going so slow :( [01:30] 3 bad bbwc [01:30] conrmahr: you'll use "zpool attach". DO NOT USE ZPOOL ADD. write that down. [01:30] and 4 bbwc without any ram installed [01:30] patdk-lap: awwww [01:30] ouch [01:31] I never put any workloads on them before I setup this test [01:31] so didn't notice or really care [01:31] where does it say zpool add? [01:31] conrmahr: the zpool manpage. [01:31] zpool add = making raid0's [01:31] conrmahr: it's way too easy for people to screw this up :) I've seen three people make that mistake already... [01:32] had an l2arc die monday :( [01:32] caused the server to panic [01:32] patdk-lap: awwwww :( [01:32] yikes [01:33] but that was illumos though [01:34] * patdk-lap wonders if it is worth attempting to use luster [01:34] so far, gluster has been horrible [01:34] or, lustre [01:36] so i ran everything [01:36] i get cannot open 'data1'; dataset does not exist [01:36] that was my poolname [01:36] oh creat [01:36] crap [01:36] i didn't remove the -n [01:37] what's this command? [01:38] zfs set attime=off data1 ; [01:38] it errors out [01:38] one t [01:38] atime, not at time [01:38] beautiful [01:41] now i just need to transfer the files! [01:41] rm does that good, really quick too [01:41] that's a joke right? [01:41] :) [01:42] how about rm * [01:47] oops, meant to put it here [01:48] would you use "$ cp" to move 3TBs of data? [01:48] what is it? [01:48] media files [01:48] i mounted the network drive to /mnt [01:48] rsync -avwP --inplace, should do it nicely [01:49] the v and P are optional [01:49] what's the directories look like [01:49] two directories? [01:49] i mean which is first and second [01:49] source dest [01:49] put a / on the end, if you don't want it to copy the source folder itself [01:49] but just stuff in it [01:50] and what are the v and P do? [01:50] v shows you the files as it copies [01:50] P gives you progress per file [02:57] patdk-lap, i have not got soem of it working by my dovecot wont start and i get nothing in the logs [04:31] can anybody help which preseed scenarios are possible. Managed a working cl with virt-install, local preseed.cfg and remote network install. 1) Do not know if preseeding is possible with local iso and 2) do not know, what if in front of a physical computer. tia [05:06] can anybody help which preseed scenarios are possible. Managed a working cl with virt-install, local preseed.cfg and remote network install. 1) Do not know if preseeding is possible with local iso and 2) do not know, what if in front of a physical computer. tia === athairus is now known as afkathairus === afkathairus is now known as afkthairus [08:46] Hello. Alt-tab between windows. Which program/package is responsible for that behavior? Unity or Compiz? [08:46] eh... sorry, wrong chan. === spammy is now known as Guest8439 [09:57] hello can anyone help me ? [10:00] http://paste.ubuntu.com/15706982/ === afkthairus is now known as athairus [17:01] JanC: Thanks a million for your help. [17:02] helping is what we are here for :) [17:02] Currently ryncing data to drive [17:05] patdk-wk: thank you too. [17:25] is there anybody with any experience with unintended install? [17:48] wsirccc__: unintended? or unattended? [18:16] ratrace [18:16] ratrace: the latter. [18:22] wsirccc__: does this help? https://help.ubuntu.com/lts/installation-guide/armhf/apb.html [18:22] wsirccc__: oops, sorry, this link: https://help.ubuntu.com/lts/installation-guide/amd64/apb.html [18:28] well one could discuss differences with debian https://wiki.debian.org/DebianInstaller/Preseed#Adding_the_preseed_file_to_the_installer.27s_initrd.gz [18:28] What is different to debian? Then I understand easier. [18:28] ratrace [18:28] ratrace: [18:28] I don't know what is different to debian. [18:30] Unless you were referring to this? https://help.ubuntu.com/community/AutomaticSecurityUpdates [18:30] unattended upgrades... [18:33] no I want to atomate the install for any use cases, under standing the methods and unittest them, [18:35] https://github.com/qemu-buro-point-dpkg/qemu-buro-point-dpkg/tree/master/qemuburo [18:35] really === Bray90820_ is now known as Brau90820 === Brau90820 is now known as Bray90820 === devil is now known as Guest13975 [23:28] ok, I tried to reboot my virtual server, but after disconnecting me it just hanged === Monthrect is now known as Piper-Off === Piper-Off is now known as Monthrect