Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Help finding a Unix friendly RAID 1 backup


Login or Register to Reply

 
Thread Tools Search this Thread
# 22  
Great, you have Debian. Pretty normal distribution for a server. Among other things it means you use apt-get to install new programs, list running daemons with rcconf, and service scripts are kept in /etc/init.d/. Please post the output of rcconf, that'll go a long way to pinning down what your server's used for.
# 23  
I inputted: apt-get install rcconf

and then: rcconf

and got:

Code:
 ┌──────────┤ rcconf - Debian Runlevel Configuration tool│                                                                    │ 
     │    [*] acpid                                                   ↑   │    │   
 [*] atd                                                     ▮   │    │   
 [*] bootlogd                                                ▒   │    │  
  [*] bootmisc.sh                                             ▒   │    │   
 [*] checkfs.sh                                              ▒   │    │   
 [*] checkroot.sh                                            ▒   │    │   
 [*] console-screen.sh                                       ▒   │    │   
 [*] cron                                                    ▒   │    │  
  [*] denyhosts                                               ▒   │    │   
 [*] exim4                                                   ↓   │    │                                                                    │ 
     │                                                                    │ 
     │                                                                    │ 
     │                                                                    │ 
     │                                                                    │ 
     │                 <Ok>                     <Cancel>                  │ 
     │                                                                    │ 
     └──────────────────────────                                                                      ──────────────────┘

(The formatting got a little wonky there...)
# 24  
Er, you should have had rcconf in the first place and if you didn't, maybe it was using something else.

Nothing in those services serves files. How odd. exim4 serves mail though.

Try ps aux | grep '[s]mbd'
# 25  
So, I ran rcconf again and got the following this time:

Code:
  [*] acpid                                                                            ↑   │    │  
  [*] atd                                                                              ▮   │    │   
 [*] bootlogd                                                                         ▒   │    │   
 [*] bootmisc.sh                                                                      ▒   │    │   
 [*] checkfs.sh                                                                       ▒   │    │   
 [*] checkroot.sh                                                                     ▒   │    │   
 [*] console-screen.sh                                                                ▒   │    │  
 [*] cron                                                                             ▒   │    │   

 [*] denyhosts                                                                        ▒   │    │   
 [*] exim4                                                                            ▒   │    │ 
   [*] glibc.sh                                                                         ▒   │    │   
 [*] halt                                                                             ▒   │    │   

 [*] hostname.sh                                                                      ▒   │    │
 [*] hwclock.sh                                                                       ▒   │    │  
  [*] hwclockfirst.sh

ps aux | grep '[s]mbd'
output:
[CODE]root 6884 0.0 0.2 13916 4392 ? Ss Feb25 0:57 /usr/sbin/smbd -D
root 6954 0.0 0.0 12524 1000 ? S Feb25 0:00 /usr/sbin/smbd -D[/CODE

Would ps aux or ps ax by themselves be helpful?




---------- Post updated at 01:30 PM ---------- Previous update was at 12:35 PM ----------

Also, I burned the gentoo minimal x86 LiveCD files onto a CD; I burned the ISO, CONTENTS, DIGESTS, and ASC file, is that correct?

I have an old Dell Latitude D610 that I wanted to try the gentoo LiveCD out on first, but I can't seem to load the gnetoo OS. I checked the BIOS of the Dell and the CD does boot first according to order preference. When I start the machine, the CD drive makes a reasonable amount of noise, like its going to do something, and then simply boots Windows normally. Any ideas?

I simply wanted to practice. Is this faulty at some base level; as in, the file I burned won't work with Windows? I checked the laptop system and it is 32 bit.
# 26  
Quote:
Originally Posted by c.wakeman
[code]ps aux | grep '[s]mbd'
output:
[/FONT][/COLOR]
Code:
root      6884  0.0  0.2  13916  4392 ?        Ss   Feb25   0:57 /usr/sbin/smbd -D
root      6954  0.0  0.0  12524  1000 ?        S    Feb25   0:00 /usr/sbin/smbd -D

Well, you're running Samba all right. That's the program your Windows clients are connecting to for files.

I have no idea what started it though, if the init system didn't. Maybe you shouldn't reboot your server until you find that out, it might default to 'off'. Has it ever been rebooted that you know of? Did it come back up without fuss?
Quote:
Would ps aux or ps ax by themselves be helpful?
Why not. Filter out anything obviously confidential though.
Quote:
I burned the gentoo minimal x86 LiveCD files onto a CD; I burned the ISO, CONTENTS, DIGESTS, and ASC file, is that correct?
An ISO file is a CD image. It becomes the entire CD. If you drag-and-dropped it onto the CD as a file it won't work.

You don't need the CONTENTS, DIGESTS, and ASC files. Those are just checksums to make sure there weren't any errors in your download.
Quote:
I simply wanted to practice. Is this faulty at some base level; as in, the file I burned won't work with Windows?
Windows can't stop any computer from doing whatever it pleases before it's even loaded.
# 27  
Quote:
A)
  1. fdisk -l to see what your main hard drive is. It'll almost certainly be /dev/sda but it's good to be sure! (Ignore sda1, sda2, etc -- those are partitions. We want the whole disk.)
  2. chmod 400 /dev/sda* Prevent yourself from writing to your company drive and any partitions on it. Just insurance. The setting doesn't exist outside of the livecd's tiny mind, so it'll forget this next reboot.
  3. Plug in your Buffalo disk with USB, wait 15 seconds, then fdisk -l again. It will probably show up as /dev/sdb. Press enter to get a prompt back if kernel debug messages print garbage over it.
.
I have a problem that may not be fixable this evening. I can't, not for lack of trying for hours, find a male to male USB cable in the office. Can the connection be made with an ethernet cable? The Buffalo HD has that port. If I have to wait to purchase a M to M USB cable tomorrow, so be it, but I would prefer to tackle this tonight.

Would I have to mount the HD first as you mentioned in Option B?

---------- Post updated 03-31-11 at 09:41 AM ---------- Previous update was 03-30-11 at 08:14 PM ----------

I just attempted to post this and it didn't seem to post correctly, so I apologize if this reposts.

I have done some reading about USB and my Buffalo HD and it seems that a USB connection won't work for two reasons. The first, the Buffalo HD USB is designed only to accept additional peripheral storage devices, not to connect the HD as a peripheral to a computer. (That wasn't exactly made clear in the product description; they mentioned that was an option, not the only use...) Two, USB A to USB A wouldn't support data transfer anyway and might short both the peripheral and the computer. Is that correct? I may have been searching using the wrong terms but I was amazed how little information I could find regarding male to male USB cables.

So at this point I have two options from what I can tell:
1) Return the Buffalo HD and purchase another HD that has proper USB connectivity.

2) Connect the Buffalo HD to the linux server using the available Linux ports. I tentatively attempted this last evening, but the gentoo liveCD bootup could never recognize the Buffalo HD using the fdisk -l; so I aborted the backup attempt. I looked online and in my Linux reference book to find code that would recognize the HD, but I wasn't able to find anything that proved useful. Theoretically, the data backup through the ethernet cable should be faster if I can get it to work properly, right? The linux machine has three ethernet/Lan ports: the first is in a drive bay and is used to connect to the network; the second is in a drive bay above the first and is unused, has no visible symbol and I don't know if it is operational or not; the third is clustered with the other standard ports and has the LAN symbol next to it.

Thanks

Last edited by c.wakeman; 03-30-2011 at 09:36 PM..
# 28  
Quote:
Originally Posted by c.wakeman
I have a problem that may not be fixable this evening. I can't, not for lack of trying for hours, find a male to male USB cable in the office. Can the connection be made with an ethernet cable?
No. Sorry I didn't realize this. You seemed confident the disk had USB connectivity and I didn't question it too deeply.
Quote:
I have done some reading about USB and my Buffalo HD and it seems that a USB connection won't work for two reasons. The first, the Buffalo HD USB is designed only to accept additional peripheral storage devices, not to connect the HD as a peripheral to a computer. (That wasn't exactly made clear in the product description; they mentioned that was an option, not the only use...) Two, USB A to USB A wouldn't support data transfer anyway and might short both the peripheral and the computer. Is that correct? I may have been searching using the wrong terms but I was amazed how little information I could find regarding male to male USB cables.

So at this point I have two options from what I can tell:
1) Return the Buffalo HD and purchase another HD that has proper USB connectivity.
That's what I'd do.
Quote:
2) Connect the Buffalo HD to the linux server using the available Linux ports.
You'll never be able to do a bare-metal backup that way.
Quote:
I tentatively attempted this last evening, but the gentoo liveCD bootup could never recognize the Buffalo HD using the fdisk -l; so I aborted the backup attempt.
It'll never recognize a network-only disk. Things on a network don't just appear because you plug them in (except for DHCP servers). It has to be used in other ways, and likely can't be done from a gentoo livecd since it's probably CIFS. Won't be trivial to do so on a full linux system, either. It won't be able to use it as a disk anyway, just as NAS.

The NAS features of the disk probably aren't very useful at all if you want to do a bare-metal backup.

Last edited by Corona688; 03-31-2011 at 12:49 PM..
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

Mobile Friendly Version of UNIX.COM

Hello, I have noticed some problems with Google complaining our site is not "https://search.google.com/www.usearch-console/mobile-friendly" using only Tapatalk. So, after a lot of work, I have re-enabled our legacy mobile style and make some improvements and Google has declared us "mobile... (2 Replies)
Discussion started by: Neo
2 Replies

2. SCO

Backup/RAID of HD on Old UNIX Server

I need to be able to make a backup image of an OLD UNIX server HD where I can restore the complete HD from scratch if (when) the HD fails. This server runs the accounting system for a company. I can and have backed the data up via local FTP, but O/S and Apps are so old that I am not sure I could... (21 Replies)
Discussion started by: chrishouse
21 Replies

3. Red Hat

RAID Configuration for IBM Serveraid-7k SCSI RAID Controller

Hello, I want to delete a RAID configuration an old server has. Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton? I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies

4. HP-UX

Hardware RAID in HP Unix rp3440

Hi Gurus, Can anyone tell me the Hardware RAID configuration in HP Unix rp3440 model server containing HP UX B.11.11 OS version. Thanks in Advance. BR, Prasanth (3 Replies)
Discussion started by: prasanth438
3 Replies

5. AIX

SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared

Hello, I have a scsi pci x raid controller card on which I had created a disk array of 3 disks when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk ) suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies

6. Shell Programming and Scripting

Converting MSVC /showInclude to unix friendly path

Hi guys, I've been trying to do this for hours, and I've just been running around in circles trying to get this script made. I have a set of files outputted by an MSVC compiler that looks like this 1> helloworld.cpp 1> Note: including file: c:\dev\test\makefile\source\helloworld.h 1> ... (7 Replies)
Discussion started by: krad
7 Replies

7. UNIX for Advanced & Expert Users

User friendly Unix ksh prompt to type directories/files

Hello, I wanted to setup user friendly ksh command prompt, by typing first character of files or directories and then tab bring up whole word. No need to type whole file/directory/command names. Example: cat a file like university just typing un and then tab bring up whole university wod.... (3 Replies)
Discussion started by: abdurrouf
3 Replies

8. HP-UX

RAID 0 on Unix

I was wanting to know if anyone knew how to setup RAID 0 on an old HP Unix server. It's for where I work and my boss has two hard drives and wants the second to take over if the first one fails hence RAID 0. If anyone could help me it would be greatly appreciated. (5 Replies)
Discussion started by: zmachine04
5 Replies

9. UNIX for Dummies Questions & Answers

RAID Unix command

Is there a command used to determine whether or not a machine has been RAIDed besides using 'df -k'. I am interested b/c I am writing a script where I would like to receive some sort of notification as to whether or not a machine has been RAIDed. The simpler the info returned back, the better. ... (2 Replies)
Discussion started by: zuinc
2 Replies

Featured Tech Videos