Most Popular

1500 questions
48
votes
6 answers

ZFS on FreeBSD: recovery from data corruption

I have several TBs of very valuable personal data in a zpool which I can not access due to data corruption. The pool was originally set up back in 2009 or so on a FreeBSD 7.2 system running inside a VMWare virtual machine on top of a Ubuntu 8.04…
ssc
  • 1,189
48
votes
4 answers

PSCP: Upload an entire folder, Windows to Linux

I am using PSCP to upload some files from Windows to Linux. I can do it fine just uploading one file at a time. But I have some very large directories and I want to upload an entire directory at once. I have tried: pscp -i…
Mechlar
  • 627
48
votes
4 answers

How does SSO with Active Directory work whereby users are transparently logged in to an intranet web app?

I'm told that it's possible to make a web application that does not require a login. The user logs in to Windows, which authenticates via an Active Directory (LDAP) Lookup. Then, they should be able to go to my webapp and never see a login prompt.…
48
votes
5 answers

Confidential Documentation and the role of the Sysadmin

I've got another interesting one. I'm about to backup and reinstall the HR Administrator's PC. I suspect that the fastest way to do this is to use the Windows 7 Transfer tool, and create a backup of the entire Users and Settings profiles on the…
Tom O'Connor
  • 27,578
48
votes
7 answers

Why rsync is faster than NFS?

Few days ago I noticed something rather odd (at least for me). I ran rsync copying the same data and deleting it afterwards to NFS mount, called /nfs_mount/TEST. This /nfs_mount/TEST is hosted/exported from nfs_server-eth1. The MTU on both network…
grs
  • 2,275
48
votes
8 answers

Why can't I connect to Amazon RDS after setting it up?

So, I just created the Amazon RDS account. And I started an instance of database. The "endpoint" is: abcw3n-prod.cbmbuiv8aakk.us-east-1.rds.amazonaws.com Great! Now I try to connect to it from one of my other EC2 instances. mysql -uUSER -pPASS…
Alex
  • 8,839
48
votes
4 answers

Is the hostname case sensitive?

Is the hostname case sensitive? Is ping MYHOST equal to ping myhost Does it depend on the DNS used? Are there differences between Win/Mac/Unix systems?
48
votes
5 answers

What are the implications of having two subnets on the same switch?

Can anyone tell me what some of the implications of having two different subnets on the same switch would be if VLANs are not being used?
Kyle Brandt
  • 85,693
48
votes
8 answers

Port forwarding on Linux without iptables?

I have a Linux VPS (virtuozzo) server and I need to setup port forwarding, but my hosting provider does not allow iptables-nat kernel modules so iptables -t nat - is not working. I'm looking for other ways how to do it. I know I can forward port…
troex
  • 753
48
votes
4 answers

How to automatically restart a service on failure in Linux

On Windows, you can set what should happen if/when a service fails. Is there a standard way of achieving the same thing on Linux (CentOS in particular)? A bigger part of my question is: how do you handle sockets that have been left open - for…
Pryo
  • 705
48
votes
3 answers

IP Forwarding = when and why is this required?

I have searched a lot with google. It is only documented how to enable IP Forwarding in the linux kernel but not WHEN and WHY I have to enable it. I would be thankful for advice. When and why do I have to enable it? (For example when I install a…
jan
  • 745
48
votes
9 answers

Linux ATA errors: Translating to a device name?

When a Linux box gets an ATA error, it syslogs it with a message identifying the disk as "ata%d.00". How do I translate that to a device name (e.g. /dev/sdb)? I feel like this should be trivial, but I cannot figure it out.
nelhage
  • 581
48
votes
9 answers

How do you setup ssh to authenticate using keys instead of a username / password?

How do you setup ssh to authenticate a user using keys instead of a username / password?
ScArcher2
  • 683
48
votes
7 answers

How to determine the "age" of a linux system since installation?

I thought that I could easily check the timestamp of particular files. Then I realized that it wouldn't be so easy when I saw timestamps like 1991.
lisak
  • 697
  • 2
  • 8
  • 19
48
votes
7 answers

View content of memcached

Are there any tools to explore what is currently cached inside a memcached pool? Not some much graphs, but the actual key/values currently stored.
Tom
  • 796