|
How do I find out which device name is tied to which physical interface? Situation: I have four SATA disks connected to an ICH9DH motherboard controller. I want to know which device name (/dev/sd[abcd]) is connected to which physical SATA channel (SATA[0-5]) on the motherboard. I would assume that they would be mapped sda->SATA0, sdb->SATA1, etc, but when I try hot-swapping this breaks: when I yank sda and plug it back in it shows up as sde. My primary concern is to be able to identify a malfunctioning disk among four identical devices. edit: lsscsi to the rescue! code:
Grey Area fucked around with this message at 15:24 on Dec 20, 2007 |
# ¿ Dec 20, 2007 14:32 |
|
|
# ¿ Apr 27, 2024 08:35 |
|
TheHeadSage posted:Finally, what would be an appropriate filesystem for this new raid drive? I always used to use reiserfs on all my HDDs, would it be suitable? I'm looking to virtualise all my servers, so it's gotta be suitable to store large vmware images on it.
|
# ¿ Jan 25, 2008 13:55 |
|
rugbert posted:Oh wow, I just upgraded my kernel and Im immediately noticing a HUGE speed boost when surfing the internet. Ive always thought there to be a noticeable difference in browsing speeds between XP and Linux. Ubuntu has a program called startupmanager that can change your boot settings. I don't know about other distros.
|
# ¿ Feb 19, 2008 16:16 |
|
Khatib: It look like Linux is confused about which of your cards should be eth0 and which should be eth1 Try reading this for solutions: http://linux.dell.com/files/whitepapers/nic-enum-whitepaper-v3.pdf
|
# ¿ Feb 26, 2008 16:08 |
|
MeramJert posted:I had some problems with uninstalling Ubuntu last week, so I ended up reinstalling it. Now that I have Gentoo up and running (a bad stick of RAM was causing seg faults in pretty much every compile that took longer than two minutes) I want to again get rid of Ubuntu. Problem is, Ubuntu overwrote the MBR, which wouldn't be a problem since I want to have the option to boot into Windows or Gentoo, but I don't know how to change it so GRUB will look in the Gentoo partition for the configuration file. I don't want to spend another couple hours messing with the bootloader. It works now, I just want to move the configuration to another partition. Can anyone help me with this?
|
# ¿ Feb 27, 2008 08:37 |
|
MeramJert posted:Well, my Gentoo installation is on /dev/hdb, but right now grub is running on /dev/hda, and I want to keep it that way. Is this potentially a problem? (I'm sure this is a very simple problem. I'm just very new to linux) Basically, the BIOS will only load the 512 byte master boot record from the first disk and the rest from (hd1). You can also install grub into the second disk (setup (hd1)) and change the boot order in the BIOS setup utility if you don't want to touch the MBR on (hd0) for some reason.
|
# ¿ Feb 28, 2008 16:22 |
|
DEAD MAN'S SHOE posted:I want to be able to run `mount -t cifs` as a user, on the fly. I don't want to have to specify the share in /etc/fstab (which is a stupid idea anyway). code:
code:
edit: You want umount as well of course. Grey Area fucked around with this message at 22:39 on Mar 4, 2008 |
# ¿ Mar 4, 2008 22:33 |
|
I'm playing with chroot, but I can't seem to get it to work.code:
This is on CentOS 5.1 with kernel 2.6.18-53.1.13.el5xen. SELinux is off, so it can't be that
|
# ¿ Mar 22, 2008 10:54 |
|
chryst posted:I'm probably being too simplistic here, but try code:
Grey Area fucked around with this message at 18:27 on Mar 22, 2008 |
# ¿ Mar 22, 2008 18:20 |
|
covener posted:your missing the ELF loader, ld-linux*.so. (strace probably shows execve returning -1/ENOENT, man execve fills you in on the rest). Your ldd-vs-ls hints at this too. What I'm trying to do is run do chrooted SFTP using rssh. I'm following this guide, and it even mentions that I need the ld-loader, but I managed to miss it... :facepalm: Anyway, I can now chroot as root, but when I try to SFTP in as a user with rssh as shell, it opens the root directory (i.e. /home/chroot in actuality) and I get this in /var/log/messages: code:
code:
I can navigate to the home folder just fine using sftp, but it doesn't go directly to $HOME. /home/chroot/etc/passwd: code:
|
# ¿ Mar 22, 2008 22:23 |
|
Zophixan posted:Hey everyone, I've been using Ubuntu for a while, and was thinking of changing to Gentoo. I used sabayon before but couldn't get my head around compiling from source (there aren't ebuilds for everything!). apt-get source <package> cd <package>-<version> fakeroot dpkg-buildpackage cd .. dpkg -i <package>_<version>_<arch>.deb
|
# ¿ Mar 25, 2008 16:25 |
|
I have a Samsung 174T 17" 1280x1024 display now, but the Eclipse IDE is awfully crowded at this resolution. I'm looking at getting an BenQ E2200HD 1920x1080 display side-by-side with the 17", so I'd like to check that my understanding of multi-monitor on X.org is right: 1. With an Nvidia 8600 GT card I want to use the TwinView sytem in the binary Nvidia drivers. 2. TwinView supports monitors with different resolutions.
|
# ¿ Nov 26, 2008 13:23 |
|
On RHEL you can use the daemon function in /etc/init.d/functionscode:
You can look at the scripts in /etc/init.d to see how you use it. edit: It's best to use chkconfig to create the links in the rc?.d directories so you con't gently caress it up.
|
# ¿ Feb 11, 2011 10:31 |
|
drainpipe posted:I have an account from a school I had attended that is running Red Hat Enterprise. I would like to remote desktop access it. Can anyone point me to a way that I can set up remote desktop from ssh command line? I am allowed to install npm packages, and I'd like to do it with as little footprint as possible as I only have 8GB.
|
# ¿ Dec 17, 2017 19:48 |
|
McGiggins posted:The problem is, i think it requires something called a submodule (libpicofe?) in order to compile and i cant seem to figure out what that is or where to get it from.
|
# ¿ Mar 4, 2018 16:52 |
|
When you are reading a man page you are probably reading it in "less". Man outputs to $PAGER, which defaults to "/usr/bin/less" on most Linuxes. Only exception is bare-bones distros that use a basic "more" clone, and non-linux Unix-likes. You can use a custom pager like bat by setting PAGER in your shell configuration.
|
# ¿ Apr 13, 2019 11:17 |
|
(The successor is probably you three years from now and that psycho definitely knows where you live.)
|
# ¿ Dec 3, 2021 15:46 |
|
I'm trying to set up some monitoring of my servers with access restricted to a Wireguard VPN, so I have a wg master runing on one server and a bunch of vms on several different hosts that expose the monitoring service on the wg interface. The problem is that every time I restart wg on the main wg server after I add a new peer, all the other peers stop responding to the peer running the monitoring system until I ping it. After restarting wg-quick@wg0 on ::1, ::3 can't make HTTP connections to ::4-6 until I ping ::1 from ::3 and then ::3 from each host. Is there something I can do to make the peers reconnect automatically after the wg master resets? Making a cron job that pings ::3 every five minutes seems inelegant. code:
All systems run Ubuntu Server 20.04
|
# ¿ Jan 28, 2022 13:19 |
|
22 Eargesplitten posted:Has anyone tried Asahi yet? I just got a MacBook Air and so far I love everything except the OS, which I’m iffy about. I’ve got another 12 days in the return window so I’m evaluating my options. I’m not generally a Linux on the Laptop guy but I’ve been using Linux a lot more at work so I’d like to get basically immersion lessons in it. I’m not interested in games aside from really wanting to get around to Disco Elysium so the lack of GPU acceleration at this point isn’t a problem. Ars Technica posted:But there are still big features missing, including DisplayPort and Thunderbolt, the webcam, Bluetooth, sleep mode, and GPU acceleration. Get an XPS or a Thinkpad for Linux.
|
# ¿ Mar 26, 2022 08:36 |
|
cruft posted:Oh, hi, my Vanilla OS Thinkpad X220 has a 250GB SSD. / is a 13GB partition that's 33% full. /home is a 161GB partition that's 17% full. There's also /boot and /boot/efi which who cares.
|
# ¿ Apr 26, 2023 16:38 |
|
cruft posted:Canonical: It's certainly true that Canonical is bad at building community support for its initiatives.
|
# ¿ Apr 26, 2023 17:01 |
|
"pip3 list -v" should list where your currently installed packages are. pip normally installs packages in /usr/lib/python3.x/site-packages if you run it as root or in your home directory otherwise, probably in .local/lib/python3.x/site-packages But if you're using a customized Python installation or virtual environment all bets are off.
|
# ¿ May 19, 2023 23:22 |
|
NihilCredo posted:Yeah I messed around with three different podman-dockercompose bridges a few months back and gave up due to various bugs or unsupported features. It was easier to just port my homeserver to Nomad, and my laptop's background services to systemd quadlets. You can just use docker-compose directly if you install the podman-docker* compatibility tool. * That's what it's called in Debian. don't know about other distros.
|
# ¿ Oct 10, 2023 06:45 |
|
|
# ¿ Apr 27, 2024 08:35 |
|
Woolie Wool posted:To me the idea of a desktop environment that looks and behaves like a desktop from 20 years ago while actually working on a modern system seems pretty cool.
|
# ¿ Dec 1, 2023 09:29 |