LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 12-30-2008, 11:18 AM   #1
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Rep: Reputation: 30
Webmin mounting existing RAID5 drives


I've got my Ubuntu 8.10 (Ibex) Server running on it's own box. I've got PuTTY installed and working from my WinXP Pro box, and I've got Webmin installed on the server and working from my WinXP Pro box. I built the Ubuntu box with a single HDD (80 GB), and it's working ok (no problems, yet).

I have a 4 disk RAID5 array that I created & populated in OpenSuSE 11.0 (I removed the OS drive & installed a blank one to use for Ubuntu, and installed Ubuntu on the blank drive without the 4 RAIDed drives attached - I didn't want to corrupt the data accidentally).

So, I'd like to mount the RAID5 array using Webmin, so that I can have access to the data contained therein.

I've looked over the instructions from Webmin here, but am apprehensive because item #2 says:
"The directory should be either non-existent or empty, as any files that it currently contains will be hidden once the filesystem is mounted."
Likewise, item #6 in the instructions says:
"If any of the partitions on your system are labeled, you can mount one by selecting the Partition labeled option and choosing the one you want. Labels are explained further in chapter 8. If your system has any RAID devices configured (as explained in chapter 8), you can select the RAID device option and choose the one you want to mount from the menu. If you are using LVM, a list of all available logical volumes will appear next to the LVM logical volume option for you to select from. Alternately, you can click on the Other device option and enter the path to the device file for your filesystem, like /dev/hda2."
and I'm wondering if that's the right way to go.

If I had been smart & not populated the data drive, I'd have just put a drop of test data on it & have been able to make my attempts without prejudice to risking lost data. But, I don't want to lose the data, so I'm asking questions first. I'm SURE there's a way to safely mount the data in one Linux environment that was created in a different Linux environment. I did it with OpenSuSE using YaST when I did a re-install of OpenSuSE. But, I'm in new territory with Webmin and would appreciate some encouragement and especially assurance.
 
Old 12-31-2008, 08:17 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
In respect of item 2, that's standard mount behaviour. For example, if my /home has a whole lot of user data in it, and I issue "mount /dev/sdb1 /home", then I will see whatever is in /dev/sdb1 if I type "ls /home", not the original user data. The data are still there, just not accessible while a device is mounted there.

A quick "umount /home" followed by "ls home" will reveal the original user data.
 
Old 12-31-2008, 09:17 PM   #3
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Well, the mount point on my RAID array is NW_DATA - NOT something that would normally be created by Linux. So, I'm probably safe to mount it. Now that you've given me the idea, I'm going to remove my OpenSuSE OS drive and put the Ubuntu one back in, and try the mount manually - from PuTTY. I'm trying to achieve enough confidence in this thing to disconnect the monitor, keyboard, & mouse - well, I don't need the mouse at all with just a CLI on the server!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Growing a software RAID5 onto fewer, larger, drives? CCThomas Linux - Server 8 01-13-2009 01:02 AM
data recovery from raid5 drives bobloblian Linux - Hardware 2 12-07-2008 02:58 PM
howto add additional sas harddisk on existing RAID5 system taboo Linux - Newbie 2 10-24-2007 05:44 PM
problem mounting raid5 yggdrasil03 Linux - Software 1 08-03-2007 04:59 AM
HW raid5 or raid1, & how many drives? hank43 Linux - Enterprise 2 12-18-2006 10:03 AM


All times are GMT -5. The time now is 01:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration