|
Alright something really weird is going on. I stuck in my gparted live cd to format my linux partition to have it ready for Windows 8. However, when it showed the partitions, all it showed was my ntfs partition. I thought something might be wrong with the cd, so I booted into linux, and fdisk on there also only shows the ntfs partition. Where the hell is my linux partition? It obviously exists since I'm sitting here typing this message in Ubuntu.
|
# ? Sep 14, 2011 03:52 |
|
|
# ? May 2, 2024 10:26 |
|
Super Dude posted:Where the hell is my linux partition? It obviously exists since I'm sitting here typing this message in Ubuntu. Not if you're using Wubi. Your Linux system exists inside a large file on your NTFS partition.
|
# ? Sep 14, 2011 03:55 |
|
Lysidas posted:Not if you're using Wubi. Your Linux system exists inside a large file on your NTFS partition. Where is it then?
|
# ? Sep 14, 2011 03:57 |
|
hah totally misunderstood the question, nvm
angrytech fucked around with this message at 04:22 on Sep 14, 2011 |
# ? Sep 14, 2011 04:15 |
|
I've used Wubi for all of a few minutes, and I'm not inclined to try it in a VM to find out. https://wiki.ubuntu.com/WubiGuide says that it's in C:\ubuntu. Try uninstalling it from the Control Panel, though. EDIT: WinDirStat or any similar tool would also tell you this.
|
# ? Sep 14, 2011 04:18 |
|
nitrogen posted:DNS is overrated, i guess. To be fair, they're probably advertising the internal resolvers that aren't blocked via DHCP and assuming (and/or not giving no fucks) that most people won't be explicitly specifying their resolvers.
|
# ? Sep 14, 2011 04:19 |
|
So I'm dealing with a Debian server which has a mdadm RAID1 with sda/sdb, md0 is boot md1 is swap (deal with it) and md2 is root. sdb recently popped out for whatever reason so I faulted the disks, removed them, and re-added using all these commands: code:
code:
|
# ? Sep 14, 2011 05:44 |
|
NOTinuyasha posted:So I'm dealing with a Debian server which has a mdadm RAID1 with sda/sdb, md0 is boot md1 is swap (deal with it) and md2 is root. I guess it's because md1 is still syncing. Perhaps the RAID1 logic is smart enough to know that syncing multiple partitions of the same disk simultaneously would cause silly amounts of overhead (seeking back and forth), or the number of simultaneous on-going sync operations is being restricted. Every time a disk is hot-added to a RAID set, it begins its life as a spare disk. It should automatically switch to being a regular RAID1 set member as soon as it begins syncing.
|
# ? Sep 14, 2011 06:37 |
|
I'm running Ubuntu 10.04 on a headless Gumstix (currently accessing it via CKermit over its USB serial port). It connects to my WiFi network just fine, can download software updates, etc, but I can't connect to it at all over the network. It won't even respond to pings. I'm 99% sure it doesn't have a firewall installed, because I built it with a pretty minimal set of packages. Any idea where to start diagnosing this issue?
|
# ? Sep 15, 2011 00:27 |
|
Thoom posted:I'm running Ubuntu 10.04 on a headless Gumstix (currently accessing it via CKermit over its USB serial port). It connects to my WiFi network just fine, can download software updates, etc, but I can't connect to it at all over the network. It won't even respond to pings. I'm 99% sure it doesn't have a firewall installed, because I built it with a pretty minimal set of packages. Any idea where to start diagnosing this issue? How are you trying to connect to it?
|
# ? Sep 15, 2011 00:49 |
|
ClosedBSD posted:It should be under Network Connections Yeah, I just checked this today. There was definitely no hostname in the ipv4 tab. Oh well. I'm going to flatten this tomorrow and install MacOS anyway, this was just a bit of a test to see how usable I found Ubuntu on a daily basis for a few days.
|
# ? Sep 15, 2011 00:53 |
|
angrytech posted:How are you trying to connect to it? Also useful: sudo iptables -L netstat -an | grep :22
|
# ? Sep 15, 2011 02:42 |
|
angrytech posted:How are you trying to connect to it? I tried both SSH (ps ax | grep ssh confirms sshd is running) and ping. SSH won't connect, and ping says either "Host is down" or "Route not available" depending on its mood. iptables isn't installed, but I'll check out what netstat says.
|
# ? Sep 15, 2011 05:21 |
|
Thoom posted:I tried both SSH (ps ax | grep ssh confirms sshd is running) and ping. SSH won't connect, and ping says either "Host is down" or "Route not available" depending on its mood. Check /var/log/syslog as well, specifically from around the time that you try to ping/ssh the system.
|
# ? Sep 15, 2011 05:48 |
|
Stupid non-technical question: Now that Adobe is dropping AIR support, should I bother looking for alternatives for TweetDeck? Are there any even a fraction as powerful?
|
# ? Sep 15, 2011 07:41 |
|
Thoom posted:I tried both SSH (ps ax | grep ssh confirms sshd is running) and ping. SSH won't connect, and ping says either "Host is down" or "Route not available" depending on its mood. Make sure the ip, subnet mask, and default gateway are correct. If they're on the same broadcast domain, host is down means you were unable to resolve the mac address for the given IP address.
|
# ? Sep 15, 2011 12:13 |
|
telcoM posted:I guess it's because md1 is still syncing. Perhaps the RAID1 logic is smart enough to know that syncing multiple partitions of the same disk simultaneously would cause silly amounts of overhead (seeking back and forth), or the number of simultaneous on-going sync operations is being restricted. This doesn't appear to be the case, I have re-added the disk and the same thing has occurred twice now. Here's /proc/mdstat code:
NOTinuyasha fucked around with this message at 20:44 on Sep 15, 2011 |
# ? Sep 15, 2011 19:17 |
|
If it tries to rebuild and hits bad sectores on that particular partition it will take it out like that, so the other units show complete. You can follow something like this howto and swap that sucker out: http://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array
|
# ? Sep 15, 2011 22:10 |
|
Both disks have multiple bad sectors. The rebuild fails because of sda though, which is the mounted drive that it's currently relying on:code:
|
# ? Sep 16, 2011 00:39 |
|
NOTinuyasha posted:Both disks have multiple bad sectors. The rebuild fails because of sda though, which is the mounted drive that it's currently relying on: Having errors on both halves of a raid1 doesn't sound very promising.
|
# ? Sep 16, 2011 18:02 |
|
Any good IRC channels? (other than Freenode) I think I asked this before. SA-specific is nice but I would like one with a larger audience (and n00bs dropping in from time to time)
|
# ? Sep 16, 2011 19:42 |
|
I guess you can go hang out with the weirdos on the OFTC network. Freenode is a network, so how people act in a channel depends on the channel.
|
# ? Sep 16, 2011 20:38 |
|
JHVH-1 posted:I guess you can go hang out with the weirdos on the OFTC network. Freenode ops/staff flip out on things like swearing or going even a little off-topic.
|
# ? Sep 16, 2011 20:47 |
|
Bob Morales posted:Freenode ops/staff flip out on things like swearing or going even a little off-topic. For what it's worth, there are offtopic channels for most distros too, like #archlinux-offtopic on freenode. E: There's also spotchat which hosts the official linux mint channels, but those don't allow swearing.
|
# ? Sep 16, 2011 21:25 |
|
Bob Morales posted:Any good IRC channels? (other than Freenode) irc.synirc.org #yospos
|
# ? Sep 16, 2011 21:33 |
|
Bob Morales posted:Freenode ops/staff flip out on things like swearing or going even a little off-topic.
|
# ? Sep 16, 2011 22:16 |
|
Not sure if this would be better suited to the networking thread but I thought I'd try here first. I've got an Ubuntu box at home acting as the usual jack of all trades server, web/torrent/dhcp/shorewall/etc. It sits between an ADSL modem and the rest of the computers in the house. The ADSL modem is setup as 192.168.2.1 and forwards everything to 192.168.2.2 which is one of servers connections. The servers other side is 192.168.0.2 with all the computers having 192.168.0.[3-9] Basically this; pre:NETWORK - DEVICE - IP ADDRESS - SHOREWALL IFACE ADSL Modem - eth0 - 192.168.2.2 - net Local Network - eth1 - 192.168.0.2 - loc What I'd like to do next is setup a VPN connection on the server so that all out going internet requests gets routed through that (ppp0) while incoming stuff still hits all the existing servers via the non-VPN ip on the ADSL modem (eth0). I've managed to get a VPN setup and sort of working. If I create the VPN connect and set it as the default route and then change shorewall to use ppp0 rather than eth0 all internet gets routed through it, but for some reason it now stops responding to incoming connections via internet (eth0). To get the setup I want, eth0 incoming and ppp0 outgoing should I be using ppp0 as the default route? Or is possible I'm blocking the eth0 incoming in my shorewall somewhere when I set ppp0 as the default?
|
# ? Sep 16, 2011 22:50 |
|
Nigel Danvers posted:
Basically ppp0 is a third NIC (think if you added a cable modem to the mix) You could specify certain traffic to go back through eth0, right now you're routing it all over ppp0. What connections do you want to come through? You could set up rules for a web server or something. I haven't used Shorewall but I think it would be easy to set up in m0n0wall
|
# ? Sep 16, 2011 23:09 |
|
Bob Morales posted:Any good IRC channels? (other than Freenode) irc.synirc.net / #sysadmin goon/non good ratio is about 50/50. Just please don't be goony.
|
# ? Sep 17, 2011 04:05 |
|
Longinus00 posted:Having errors on both halves of a raid1 doesn't sound very promising. The disks are both cheap WD green drives (WD20EARS) so bad sectors might just be normal operation or something. The server is colocated and I really would rather not pull anything unless it bursts into flames. I used hdparm to write to the bad sectors on sda while it was still mounted which seems to have cleared up the problem with rebuilding so I'll work from there. I'll write a cron script to email me if the array gets knocked down to 'degraded' status next time.
|
# ? Sep 17, 2011 04:08 |
|
NOTinuyasha posted:The disks are both cheap WD green drives (WD20EARS) so bad sectors might just be normal operation or something. The server is colocated and I really would rather not pull anything unless it bursts into flames. I used hdparm to write to the bad sectors on sda while it was still mounted which seems to have cleared up the problem with rebuilding so I'll work from there. I'll write a cron script to email me if the array gets knocked down to 'degraded' status next time. smartmontools is your friend.
|
# ? Sep 17, 2011 04:17 |
|
Jesus. My old server (P4 2.8C, 2x dual port Intel 10/100/1000 NICs, 300gb IDE, 2x 1TB SATA) stopped booting last month after I opened and closed the side panel while it was running after swapping back to my old good PSU (Antec 480w) from a cheap-rear end Raidmax 380w something PSU. (I didn't touch poo poo while the side was off) Well, I scrounged up parts from my roommate with about the only things carried over being the 2x 1TB SATA drives and PSU. Today I put one of the dual port NICs in the server only to find it will no longer boot and has symptoms of a corrupt boot drive. What in the poo poo. I can only assume the PSU is hosed up and killing the drives but the rails seemed fine when I watched them. BlackMK4 fucked around with this message at 07:37 on Sep 17, 2011 |
# ? Sep 17, 2011 07:28 |
|
Where does the boot process stall? Any errors or console output at all?
|
# ? Sep 17, 2011 09:53 |
|
Yes, different errors each time after the GRUB loader relating to file read errors. Sometimes I don't even get to GRUB.
|
# ? Sep 17, 2011 16:41 |
|
Can anyone point me to a tutorial for Chef that doesn't assume you already know Chef? Everything I'm finding is a lovely little braindump someone did of every other command that they ran.
|
# ? Sep 17, 2011 17:40 |
|
I have a ThinkPad X61 Tablet, which has three mouse buttons and a nub between the G, H, and B keys. Back when I was using Windows, Lenovo had some scrolling emulation software that would kick in whenever you hold down the middle button and move the mouse up and down. This has never worked correctly in Kubuntu, even after installing some synaptics control software and configuring this behavior. It would always revert after a reboot or stop working randomly while the system was running. After installing a nightly build of Kubuntu 11.10, I tried to scroll on a hunch and found out that it works perfectly without any configuration. Thanks, anonymous KDE and/or Kubuntu developer!
|
# ? Sep 17, 2011 18:36 |
|
I'm looking to put together a small backup solution for a few Linux lab computers due to stupid students overwriting or deleting some report data. My criteria is that it be able to do incremental backups, and that it have a good UI for restoring individual files, whether that be a Web UI or a client on the end machine. Ideally I'll be making backups to a RAID array of maybe 2TB drives so no tape backup necessary. Also I'd love to be able to restore revisions of files, similar to how I can with Time Machine on my Mac, where I can restore the version of xraydata.csv from a week ago versus from the backup job last night. I'm looking at Bacula, is there anything else I should be seriously giving attention to?
|
# ? Sep 17, 2011 18:48 |
|
Martytoof posted:I'm looking at Bacula, is there anything else I should be seriously giving attention to? BackupPC Bacula's better for a full backup solution, where you're saving stuff to tape, rotating them off-site, and so on. BackupPC works better for an ad hoc backup system that won't necessarily save you from a disaster but which is great for quickly restoring individual files.
|
# ? Sep 18, 2011 17:31 |
|
Take a look at crashplan. I love it. Even if you don't pay for the offsite backup it will backup to other computers. Crashplan just saved my rear end so I'm feeling pretty good about it...
|
# ? Sep 18, 2011 17:51 |
|
|
# ? May 2, 2024 10:26 |
|
Thermopyle posted:Take a look at crashplan. I love it. Even if you don't pay for the offsite backup it will backup to other computers. Crashplan is great provided that you have 1GB+ memory to dedicate to the crashplan background service. I love its features but goddrat it is memory-hungry. Also it really should have some way of backing stuff up over ssh other than 'mount the remote system using sshfs and back up to that mountpoint'.
|
# ? Sep 18, 2011 21:13 |