Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

How do I remount existing raid 0 without loosing data(fresh

Topics not related to Ultimate Edition.


How do I remount existing raid 0 without loosing data(fresh

Postby DaddyX3 » Thu Nov 15, 2007 9:16 pm

How do I remount a raid array that was already made and configured before a fresh install?
I'm trying to decipher TheeMahns How-To on creating a raid-0 array but not erase my data. Here's what I'm guessing:
Code: Select all
sudo apt-get install mdadm

This is where I get a little lost, I don't want to loose my data already on there: (obviously subbing my /dev/sd_)
Code: Select all
sudo mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdb1 /dev/sdc1

With any luck, I would be able to skip the some of the process in the above code and just identify a working raid array with:
Code: Select all
sudo cat /proc/mdstat

after that point I think I can handle the rest, by making my mounting directory to what ever or wherever I wish, and mount it with
Code: Select all
sudo cat /proc/mdstat
sudo mount -t ext3 /dev/md0 /mnt/whatever
sudo nano -w /etc/fstab
/dev/md0 /media/whatever ext3 rw,noatime,user,noauto 0 0
sudo mkdir /media/my_mountpoint

(Thank you again ccal!)
So, My hang up in the process is not destroying the data already on the raid 0 I have. Any input/ideas?
Intel Core 2 Quad Q9300 2.5GHz 45nm/Gigabyte EP35C-DS3R M.B. w/ddr3 1333
G.Skill 2X1GB DDR3 1333MHz/Gigabyte 8800GT PCIe 2.0 512MB GDDR3 OC'd to 700Mhz/ WD160 gig, 2- WD250 gig in RAID-0 (500GB), WD640 gig e-SATA external

AMD 64 X2 3800+/ASUS A8N32-SLI Deluxe/G.Skill 2X1GB Matched Pair ddr400
/EVGA 6800GS Nvidia Graphics 256MB/WD160gig drive

HTPC Box:AMD 64 X2 4400+/ BIOSTAR TF7050PV HDMI MicroATX/G.Skill 2X1GB /Matched Pair DDR800/Integrated video and audio/WD160gig drive
User avatar
DaddyX3
U.E. God
U.E. God
 
Posts: 2407
Joined: Wed Oct 17, 2007 9:22 am
Location: Central Coast - California
Age: 49
Operating System: Ultimate Edition 2.3 32 BIT



Re: How do I remount existing raid 0 without loosing data(fresh

Postby TheeMahn » Fri Nov 16, 2007 10:35 am

I have already successfully done this when I installed gamers give me a few I will post the statement I believe it is assemble...

Got a message back from Canonical probably not the place to post it but then again I am admin ;)
Code: Select all
Hi,

Thanks for your response and for your understanding of the issue.

If what you are making is a new collection of things in the Ubuntu
repositories, then it is okay to call it "Ubuntu <description> Remix"
 as
it is an adapted version of Ubuntu packages.  But if you are including
things that aren't officially part of Ubuntu, then I'm afraid it is no
longer Ubuntu and is going to need a different name completely. For
example, I believe last year you made a version of Ubuntu that included
 
only software from the repositories but with a new Christmas-ish
 artwork
theme - calling that the Ubuntu Christmas Remix is absolutely fine.

If you can get your project to fit the definition of a Remix, then you
can use the Ubuntu logo (for non-commercial reasons).  But the site
would still need to be changed - right now the combination of the
prominent use of the logo, the ubuntusoftware domain, and the "Ubuntu
Software" in the top banner of the site all combine to make the site
look like it is the (or a part of the) official Ubuntu site.  If you
look at the site through the eyes of a newcomer you'll see that it will
 
definitely confuse people into thinking this is the Ubuntu site.  And
 if
it's confusing, then you're probably doing something wrong.  You need
 to
make the site look like what it is - your site to distribute a remix
(but not a formal edition) of Ubuntu.

If your project isn't a Remix but rather a new project based on Ubuntu,
 
then you'll need a new name/logo for your project. You can still use
 the
Ubuntu logo on the site to say "this is built on Ubuntu", but the
 Ubuntu
logo shouldn't be the main identifier. For example, some folks have
 made
Mint Linux (http://www.linuxmint.com/) based on Ubuntu. They are doing
something similar to you - i.e,. taking Ubuntu and making changes they
think are important (e.g., codecs).  They recognise Ubuntu in the
"About" section, but there is no confusion with Ubuntu.

I would be happy to go through page-by-page with you, but to do so
 would
need to know what the intention of the project is - is it something
 that
can be called a Remix? Or is it a derivative of Ubuntu?

Thanks,
Jane


I'll be back with your solution, actually I am going to install a newer one I just built and will have to go through it and will post as I do so.
Home of Ultimate Edition. Got a question? Please review the F.A.Q. Browse the How to section.

Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: Dual 4K 43" LG, 4K Samsung 28"
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers

Servers in the basement.
User avatar
TheeMahn
Site Admin
 
Posts: 4201
Joined: Fri Oct 12, 2007 10:02 am
Location: U.S.A.
Age: 53
Operating System: Ultimate Edition Developer



Re: How do I remount existing raid 0 without loosing data(fresh

Postby DaddyX3 » Fri Nov 16, 2007 10:43 am

TheeMahn wrote:I have already successfully done this when I installed gamers give me a few I will post the statement I believe it is assemble...

Got a message back from Canonical probably not the place to post it but then again I am admin ;)
Code: Select all
Hi,

Thanks for your response and for your understanding of the issue.

If what you are making is a new collection of things in the Ubuntu
repositories, then it is okay to call it "Ubuntu <description> Remix"
 as
it is an adapted version of Ubuntu packages.  But if you are including
things that aren't officially part of Ubuntu, then I'm afraid it is no
longer Ubuntu and is going to need a different name completely. For
example, I believe last year you made a version of Ubuntu that included
 
only software from the repositories but with a new Christmas-ish
 artwork
theme - calling that the Ubuntu Christmas Remix is absolutely fine.

If you can get your project to fit the definition of a Remix, then you
can use the Ubuntu logo (for non-commercial reasons).  But the site
would still need to be changed - right now the combination of the
prominent use of the logo, the ubuntusoftware domain, and the "Ubuntu
Software" in the top banner of the site all combine to make the site
look like it is the (or a part of the) official Ubuntu site.  If you
look at the site through the eyes of a newcomer you'll see that it will
 
definitely confuse people into thinking this is the Ubuntu site.  And
 if
it's confusing, then you're probably doing something wrong.  You need
 to
make the site look like what it is - your site to distribute a remix
(but not a formal edition) of Ubuntu.

If your project isn't a Remix but rather a new project based on Ubuntu,
 
then you'll need a new name/logo for your project. You can still use
 the
Ubuntu logo on the site to say "this is built on Ubuntu", but the
 Ubuntu
logo shouldn't be the main identifier. For example, some folks have
 made
Mint Linux (http://www.linuxmint.com/) based on Ubuntu. They are doing
something similar to you - i.e,. taking Ubuntu and making changes they
think are important (e.g., codecs).  They recognise Ubuntu in the
"About" section, but there is no confusion with Ubuntu.

I would be happy to go through page-by-page with you, but to do so
 would
need to know what the intention of the project is - is it something
 that
can be called a Remix? Or is it a derivative of Ubuntu?

Thanks,
Jane


I'll be back with your solution, actually I am going to install a newer one I just built and will have to go through it and will post as I do so.

I think Jane needs to d'ld it and give it a shot ;) I'll post in the admin board how I truely feel
Intel Core 2 Quad Q9300 2.5GHz 45nm/Gigabyte EP35C-DS3R M.B. w/ddr3 1333
G.Skill 2X1GB DDR3 1333MHz/Gigabyte 8800GT PCIe 2.0 512MB GDDR3 OC'd to 700Mhz/ WD160 gig, 2- WD250 gig in RAID-0 (500GB), WD640 gig e-SATA external

AMD 64 X2 3800+/ASUS A8N32-SLI Deluxe/G.Skill 2X1GB Matched Pair ddr400
/EVGA 6800GS Nvidia Graphics 256MB/WD160gig drive

HTPC Box:AMD 64 X2 4400+/ BIOSTAR TF7050PV HDMI MicroATX/G.Skill 2X1GB /Matched Pair DDR800/Integrated video and audio/WD160gig drive
User avatar
DaddyX3
U.E. God
U.E. God
 
Posts: 2407
Joined: Wed Oct 17, 2007 9:22 am
Location: Central Coast - California
Age: 49
Operating System: Ultimate Edition 2.3 32 BIT



Re: How do I remount existing raid 0 without loosing data(fresh

Postby TheeMahn » Fri Nov 16, 2007 1:08 pm

O.K. Gamers is indeed the bomb it picked up my raid system from the rip...

I did have to modify my fstab and sudo mount -a and it was all picked up ;)

I used to have to assemble it with prior build mdadm is integrated and even picked up the drives during installation, but I did not trust that method.

When I did a sudo fdisk -l right after installing results below:
Code: Select all
theemahn@SledgeHammer:~$ sudo fdisk -l
[sudo] password for theemahn:

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00088bf2

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        9727    78132096   83  Linux
/dev/sda2   *        9728       30235   164730510    7  HPFS/NTFS
/dev/sda3           30236       30401     1333395   82  Linux swap / Solaris

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00072f6d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       38913   312568641   83  Linux

Disk /dev/sdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e0ad6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       38913   312568641   83  Linux

Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00088183

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1       60801   488384001   83  Linux

Disk /dev/md1: 640.1 GB, 640140443648 bytes
2 heads, 4 sectors/track, 156284288 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/md0: 1000.2 GB, 1000210300928 bytes
2 heads, 4 sectors/track, 244191968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/sde: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfed7339e

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1   *           1       60801   488384001   83  Linux
theemahn@SledgeHammer:~$ sudo gedit /etc/fstab
theemahn@SledgeHammer:~$ sudo mount -a
mount: mount point /media/Storage does not exist
mount: mount point /media/BigBitch does not exist
theemahn@SledgeHammer:~$ sudo mkdir /media/Storage
theemahn@SledgeHammer:~$ sudo mkdir /media/BigBitch
theemahn@SledgeHammer:~$ sudo mount -a
theemahn@SledgeHammer:~$


Editing of my fstab:
Code: Select all
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sdb1
UUID=5b3c55f7-f90e-45da-a667-7e8dae065993 /               ext3    defaults,errors=remount-ro 0       1
# /dev/sdb2
UUID=14E84D56E84D36F0 /media/Winderz  ntfs    defaults,umask=007,gid=46 0       1
# /dev/sdb3
UUID=6093670d-a472-4e9a-8476-c48f7142ed9f none            swap    sw              0       0
#added 2 lines below did nothing else and done so from the melon ;)
/dev/md0 /media/Storage  xfs defaults 0 2
/dev/md1 /media/BigBitch xfs defaults 0 2
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
Home of Ultimate Edition. Got a question? Please review the F.A.Q. Browse the How to section.

Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: Dual 4K 43" LG, 4K Samsung 28"
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers

Servers in the basement.
User avatar
TheeMahn
Site Admin
 
Posts: 4201
Joined: Fri Oct 12, 2007 10:02 am
Location: U.S.A.
Age: 53
Operating System: Ultimate Edition Developer



Re: How do I remount existing raid 0 without loosing data(fresh

Postby DaddyX3 » Fri Nov 16, 2007 1:20 pm

Thats really good news! Thanks TheeMahn! :D
However ..... I was contemplating not installing 1.6 but rather 1.5, I'm really stoked on 1.5 its very stable for me. I've re-installed 1.6 about 8 times :(
So, If I wanted to run 1.5 Gamers would I still have to install mdadm, what do you think? Anybody brave enough?
Actually, i might just split my main OS drive in two and have a 1.6 and a 1.5 just as is. I'm just really happy with 1.5. On the other hand ... no body has replied to my "Installing 1.6 on same hard drive after 1.5 install" post. I don't know how sucessfull I'll be.
Intel Core 2 Quad Q9300 2.5GHz 45nm/Gigabyte EP35C-DS3R M.B. w/ddr3 1333
G.Skill 2X1GB DDR3 1333MHz/Gigabyte 8800GT PCIe 2.0 512MB GDDR3 OC'd to 700Mhz/ WD160 gig, 2- WD250 gig in RAID-0 (500GB), WD640 gig e-SATA external

AMD 64 X2 3800+/ASUS A8N32-SLI Deluxe/G.Skill 2X1GB Matched Pair ddr400
/EVGA 6800GS Nvidia Graphics 256MB/WD160gig drive

HTPC Box:AMD 64 X2 4400+/ BIOSTAR TF7050PV HDMI MicroATX/G.Skill 2X1GB /Matched Pair DDR800/Integrated video and audio/WD160gig drive
User avatar
DaddyX3
U.E. God
U.E. God
 
Posts: 2407
Joined: Wed Oct 17, 2007 9:22 am
Location: Central Coast - California
Age: 49
Operating System: Ultimate Edition 2.3 32 BIT



Re: How do I remount existing raid 0 without loosing data(fresh

Postby TheeMahn » Fri Nov 16, 2007 2:17 pm

DaddyX3 wrote:Thats really good news! Thanks TheeMahn! :D
However ..... I was contemplating not installing 1.6 but rather 1.5, I'm really stoked on 1.5 its very stable for me. I've re-installed 1.6 about 8 times :(
So, If I wanted to run 1.5 Gamers would I still have to install mdadm, what do you think? Anybody brave enough?
Actually, i might just split my main OS drive in two and have a 1.6 and a 1.5 just as is. I'm just really happy with 1.5. On the other hand ... no body has replied to my "Installing 1.6 on same hard drive after 1.5 install" post. I don't know how sucessfull I'll be.


mdadm is built in to 1.6 gamers as well as support for many filesystems wrote a module called "filesystems" today. dmraid broke the O/S and will have to be rebuilt. Crash detected, not a big deal upgrade script fixed it but I will not have that.

I have 2 drives mirrored the worse case scenario is I lose 1 drive as the O/S views it 4 drives involved.

In your case (if it asks a question do not do it and please post what it asked I have been through this prior)& will walk you through:
Code: Select all
sudo mdadm  --assemble /dev/md0 /dev/sda1 /dev/sdb1

replace with your raid devices the md0, sda etc.

In the example above md0 is the assigned raid device and sda, b is the drives you want assembled, if it goes through you will still have to make an entry in your fstab to have it auto mount at boot.

in any situation you will still have to have mdadm:
Code: Select all
sudo apt-get install mdadm
Home of Ultimate Edition. Got a question? Please review the F.A.Q. Browse the How to section.

Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: Dual 4K 43" LG, 4K Samsung 28"
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers

Servers in the basement.
User avatar
TheeMahn
Site Admin
 
Posts: 4201
Joined: Fri Oct 12, 2007 10:02 am
Location: U.S.A.
Age: 53
Operating System: Ultimate Edition Developer



Re: How do I remount existing raid 0 without loosing data(fresh

Postby DaddyX3 » Fri Nov 16, 2007 2:31 pm

Alright I'll give it a shot when I get home, and post back here.
Intel Core 2 Quad Q9300 2.5GHz 45nm/Gigabyte EP35C-DS3R M.B. w/ddr3 1333
G.Skill 2X1GB DDR3 1333MHz/Gigabyte 8800GT PCIe 2.0 512MB GDDR3 OC'd to 700Mhz/ WD160 gig, 2- WD250 gig in RAID-0 (500GB), WD640 gig e-SATA external

AMD 64 X2 3800+/ASUS A8N32-SLI Deluxe/G.Skill 2X1GB Matched Pair ddr400
/EVGA 6800GS Nvidia Graphics 256MB/WD160gig drive

HTPC Box:AMD 64 X2 4400+/ BIOSTAR TF7050PV HDMI MicroATX/G.Skill 2X1GB /Matched Pair DDR800/Integrated video and audio/WD160gig drive
User avatar
DaddyX3
U.E. God
U.E. God
 
Posts: 2407
Joined: Wed Oct 17, 2007 9:22 am
Location: Central Coast - California
Age: 49
Operating System: Ultimate Edition 2.3 32 BIT



Re: How do I remount existing raid 0 without loosing data(fresh

Postby TheeMahn » Fri Nov 16, 2007 2:42 pm

DaddyX3 wrote:Alright I'll give it a shot when I get home, and post back here.



I want to let you know it may be a while before I get back to you. I am working 7 days a week at least until Thanksgiving, piss poor thing is I do not even get holiday pay, I would have been happy with double time for working Sunday figure the odds. I love my job ;)
Home of Ultimate Edition. Got a question? Please review the F.A.Q. Browse the How to section.

Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: Dual 4K 43" LG, 4K Samsung 28"
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers

Servers in the basement.
User avatar
TheeMahn
Site Admin
 
Posts: 4201
Joined: Fri Oct 12, 2007 10:02 am
Location: U.S.A.
Age: 53
Operating System: Ultimate Edition Developer


Return to General Discussion - Birthdays-Welcome to the Forums - Introduce yourself here!

Who is online

Users browsing this forum: No registered users and 8 guests