Help finding a Unix friendly RAID 1 backup


Login or Register to Reply

 
Thread Tools Search this Thread
# 22  
Old 03-30-2011
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  
Old 03-30-2011
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  
Old 03-30-2011
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  
Old 03-30-2011
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  
Old 03-30-2011
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  
Old 03-31-2011
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 08:36 PM..
# 28  
Old 03-31-2011
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 11:49 AM..
Login or Register to Reply

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

More UNIX and Linux Forum Topics You Might Find Helpful
Mobile Friendly Version of UNIX.COM Neo What is on Your Mind? 2 07-19-2016 10:30 AM
Backup/RAID of HD on Old UNIX Server chrishouse SCO 21 10-03-2015 02:04 PM
RAID Configuration for IBM Serveraid-7k SCSI RAID Controller @dagio Red Hat 0 04-30-2013 09:11 AM
Software RAID on top of Hardware RAID KhawHL Solaris 4 12-16-2011 01:52 AM
rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment? MVEERA Shell Programming and Scripting 0 11-23-2011 11:27 AM
Hardware RAID in HP Unix rp3440 prasanth438 HP-UX 3 10-10-2011 12:15 PM
SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared filosophizer AIX 0 06-14-2011 02:20 PM
Converting MSVC /showInclude to unix friendly path krad Shell Programming and Scripting 7 02-17-2011 07:46 PM
raid 1 configuration in sco open unix sudhir69 SCO 0 03-27-2009 07:11 AM
User friendly Unix ksh prompt to type directories/files abdurrouf UNIX for Advanced & Expert Users 3 02-15-2008 05:07 PM
How to view Drive/RAID config in UNIX... bpoulson UNIX for Dummies Questions & Answers 2 01-25-2007 12:54 AM
RAID 0 on Unix zmachine04 HP-UX 5 12-22-2005 09:37 PM
Unix Sco 5.0.7 Raid Problems josramon UNIX for Advanced & Expert Users 0 12-21-2004 12:10 PM
RAID Unix command zuinc UNIX for Dummies Questions & Answers 2 05-07-2002 10:19 AM