Ubuntu Servers :: Accessing Storage Array Drives From LiveCD?

Jun 22, 2011

I'm trying to delete directories (long story, Mac temp files there, Windows not cooperating) on a sever connected to a HP 20 Modular Smart Array set up as RAID5. System currently running Windows. I've booted from a 9.10 LiveCD but can't see the external drives. Is it correct that I need to install mdadm to "see" those drives from LiveCD? From a different machine (linux) I can mount the drive using samba like so:

sudo smbmount //IP address/hostname RAID5 Root Share /mnt/ntserver -o username=smith,password=abcde123

I have admin privileges on the Windows OS. In linux (or Windows beforehand), is it possible to take ownership of the directories so that I can do a rm -f -r <dir> ?

View 6 Replies


ADVERTISEMENT

CentOS 5 :: Connect Up Servers To Storage Array Which Is Running As An SRP Target?

Jul 13, 2011

My goal is to connect up a bunch of CentOS 5.6 servers to storage array which is running as an SRP target. These servers will be running eventually as Xen hypervisors. I'm using Mellanox Infiniband cards and a Qlogic Infiniband switch.

OFED drivers are already installed as standard. I have done the following.

1. Base install of CentOS 5.6 X86_64
2. Installed the following packages...

openib
ibutils
srptools
infiniband-diags
opensm

[Code]...

It works perfectly and connects to the target immediately with great results. I'd just like this to happen correctly on startup.

To work around the issue I have added the line srp_daemon -e -o into the init script for opensm /etc/init.d/opensmd but it doesnt always start the srp_daemon process. Its rather hit and miss

I'd really like srp_daemon to run as a service with a proper init script but I wouldnt know how to write one. I understand that this issue has been addressed in the RHEL6 srptools package but that doesnt help me because the software I intend to use on these servers specifically requires 5.

View 4 Replies View Related

Ubuntu Servers :: RAID 5 Software Array With 3TB Drives

Jun 15, 2011

I am trying to use 3 3TB Western Digital drives in a raid 5 software array. The trouble seems to be that the array is created with only 1.5 TB of capacity, rather then the expected 6 TB.

Here are the commands and output:
$ sudo dmraid -f isw -C BackupFull6 --type 5 --disk /dev/sde,/dev/sdf,/dev/sdg --size=5589G
Create a RAID set with ISW metadata format
RAID name: BackupFull6
RAID type: RAID5
RAID size: 5589G (11720982528 blocks)
RAID strip: 64k (128 blocks)
DISKS: /dev/sde, /dev/sdf, /dev/sdg
About to create a RAID set with the above settings. Continue ? [y/n] :y

$ sudo dmraid -s
*** Group superset isw_cdjhcaegij
--> Subset
name: isw_cdjhcaegij_BackupFull6
size : 3131048448
stride : 128
type : raid5_la
status : ok
subsets: 0
devs : 3
spares : 0

So I cannot understand why the size of the created array is only 3131048448 or about 1.5 TB. The first command seemed to imply it was going to create an array with 5589GB.

System is:
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid

View 8 Replies View Related

Ubuntu Servers :: Mainboard And Storage System - How Both Storage Devices Will Be Supported By Debian

Mar 11, 2011

I'm interested in buying a new hardware for my company. The old server (now 10 years old) should be replaced with a new one. Till now, I was looking on different hardware suppliers, boards and different other places. I found a Tyan board [URL]. The hardware spec is quite interesting and the board would fullfill our claims.

how both storage devices will be supported by Ubuntu or Debian??

- SATA-Controller: AMD SP5100
- SAS-Controller: LSI 1068E

View 4 Replies View Related

Ubuntu :: Accessing Usb Storage Device On Router?

Apr 10, 2010

I am using a Belkin F5D 8235-4 ver 2 wireless router. My linux box is connected direct. I have a 16G flash drive installed in the usb port on the router that I want to use for storage so I can dump files I share with my other machines on the network. Windows sees this usb and works fine by just using the web browser and using 192.168.2.1usb no problem. Then I try to use my unbuntu and can not for the life of me figure out how to set up a permanent link to that drive in linux. I would like to have a direct connection on my desktop. Of course I tried Belkin and was told we do not support Linux.

View 4 Replies View Related

Hardware :: Storage Array - How To Tell The Device

Mar 20, 2011

I'm in need to replace a harddrive with higher capacity one but I can't tell which bay is holding on to a drive which has the OS. I don't want to pull the main drive. just wondering if there is a way to light up the led light next to physical drive/bay so I don't accidentally yank out the wrong one.

View 4 Replies View Related

Ubuntu :: Accessing Permission Locked Folders Through Livecd?

Dec 6, 2010

My spare laptop refuses to load into the OS (it's running 10.10) or even give me a log-in screen - it sits there with a blinking cursor in the corner of a black screen. It's a 7 year-old laptop I mainly use as a mediacenter, which means I keep very little on it so I figured I'd just do a complete reinstall and move on.

So I threw in a livecd to grab the one folder I needed before I was going to wipe the drive, but apparently at some point this folder got permission locked, and it won't let me open it or copy it to an external through the livecd. Is there any way I can get at this folder?

View 1 Replies View Related

Ubuntu Servers :: Creation Of RAID-0 Array In Disk Utility Resulting In Smaller Than Expected Array?

Sep 27, 2010

I have a NETGEAR ReadyNAS NV+ with four 1TB drives in a RAID-5 array. This is our primary file storage. This has previously been backed up to a hardware RAID-0 array directly attached to our Windows server. The capacity of this backup array is no longer sufficient. So the plan was, take a bunch of 200GB to 320GB drives (And a 750) I had kicking around, chuck them in a couple of old SCSI drive enclosures I have collecting dust, attach them via IDA/SATA-to-USB adaptors to a USB hub, attach that to the server, create a JBOD array spanning the disks, and back up the NAS to that. Performance is not an issue as this is just to be used for backup, with the idea being as near to zero cost as possible (Spend so far = NZ$100�ish).

The first hurdle I struck was Windows not supporting Dynamic Disks on USB drives (Required to create a spanned volume). At first I resisted using another machine (i.e. a machine running Ubuntu) as I didn't want to dedicate a piece of hardware to backing up the NAS. I then decided it would be acceptable to do this via a VM, which is what I've done.So I have 10.04 running under VMWare Server 2.0.2 under Windows Server 2008 R2. The disks are all presented to the VM. I wasn't sure if I was going to end up creating the array under LVM or something else, but I noticed Disk Utility has an option to create an array, so I tried that. When I add two 250GB drives, the array size is 500GB. When I then add a 160GB drive, the array size drops to 480GB. Huh? If I keep adding disks (Regardless of order) the final array size comes out at 1.8 TB, as per the attached screenshot. Now with the following drives, I expected something more like:

160 + 250 + 250+ 750 + 250 +200 + 200 + 250 + 320 + 250 + 320 = 3.2TB

Am I missing something or making a false assumption somewhere?

View 4 Replies View Related

Programming :: PHP Accessing Variables Within Array

Mar 30, 2011

I am pretty new to PHP so excuse my dumbness. I've searched this up in quite a few places and cant find anything : Basically, I've made an array, within it are 3 more arrays. Their are two values in each array, 'Name' and 'Age'. Basically I am using a While statement to try and cycle through the 'age' value of my array and state whether or not the person is eligible. (I am actually just learning so I'm doing this to just test myself).

Here is my code
Code:
<?php
$people =array(
array('name' => 'Bob', 'age' => 15 ),
array('name' => 'Jhon' , 'age' => 10),
array('name' => 'Sue' , 'age' => 7));
//($value =& $people[0,1,2][age] );

Here was an attempt to try and create a reference to age, I tried it many different ways
while($age < 10) {
echo ('$name, is eligible') ; } ?>

Okay, so I tried to do this through two ways, one way I tried to create a reference to age, then evaluate it, without that line of code their would be no reference, which way is correct, why wont it work? I am using Xammp, so when I launch local host I get an undefined variable error. What To Do?

View 3 Replies View Related

Debian Installation :: 7.7 I386 Install On HP P440ar Storage Array

Mar 18, 2015

I am having problems installing Debian 7.7 i386 on the newest HP DL380 GEN9 server with P440ar storage array. The disk detection during installation fails to detect the array.

I have pinpointed the problem to hpsa.ko driver to be outdated as I need a minimum version from September 2014. I have already tried following the guide on " [URL]" but the driver compiling from sources fails (guide is from 2012).

Here is where I got the latest sources: [URL]....

Is there any possible way to install this debian version with this storage array? Newer kernel version is really not an option for me.

"3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u2 i686 GNU/Linux"

View 13 Replies View Related

Server :: Recover RAID5 Storage Array DATA Using Xfs_repair?

Jul 5, 2011

I have an Acer Altos EasyStore SATA NAS box that hung, the only way to reboot was to crash the system (unplug it). Upon reboot it was not recognising the hard drives (it wanted to do a destructive reinitialize). Most of the importent data was backed up, however some was overlooked and we'd quite like to get it back. Removing the disks and placing them in a PC with enough SATA bays to cope, and booting with a live linux distribution (System Rescue CD) I can see the 4 drives are not suffering hardware error and that the original partions exist. Using mdadm I can assemble the Arrays without error (seems to be three but the only one I am concerned with is the RAID5 array of about 3TB). /dev/m1p2 mounts as a loopdevice once an offset is entered. In turn this mounts as an XFS parition. However despite df showing the partition almost to be full. ls -l or ls -a on the mount point shows it to be empty!

I got thusfar using a translation from a German language forum, unfortunately I only speak a little German, and the only other English language post on a simlilar matter I found within that site had no replies. The next step was to unmount loop, then run xfs_chack and xfs_repair on the file system. xfs_check returns that there is are a few dir size and offset errors along with link count mismatches. This I would presume normal for a file system that has become slightly corrupted. xfs_repair (version 3.0.3) gets as far as Phase 3 it finds and corrects zerolength entries, offsets on directories and bogus inode numbers. However the final two lines are:

Code:

realloc failed in blkent_append (2671166480 bytes)
zsh: segmentation fault xfs_repair /dev/loop1

A search on the error missing out data size just returns code to generate it, is anybody able to explain what it means? Also remounting hard drive, ls and varients of still do not return anything. Am I missing some thing (root I am logged in with now would have different credentials presumably to root on the NAS box, so how do I get around this)?

View 5 Replies View Related

Fedora Hardware :: Accessing Samsung Galaxy S2 Storage From F15 Minimal Install?

Aug 10, 2011

i have a server built out using a minimal f15 installation. when i connect my samsung galaxy s2 via usb i see the following in the syslog :

Aug 10 09:31:43 server kernel: [593577.329268] usb 2-1.2: new high speed USB device number 17 using ehci_hcd
Aug 10 09:31:43 server kernel: [593577.405527] usb 2-1.2: New USB device found, idVendor=04e8, idProduct=685e
Aug 10 09:31:43 server kernel: [593577.406045] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[code].....

and can access the storage. when booted into the minimal installation, other usb devices such as usb sticks can be accessed and mounted successfully. what i'm missing from my minimal installation that is preventing the samsung storage from being accessible ?

View 1 Replies View Related

Ubuntu :: Multiple Flash Drives For Storage?

Jan 4, 2010

I am running Karmic on a stripped laptop, and running it off a usb thumbdrive.Its purpose is mainly as a slide show/video show inset in a tableI did not really want to go out and buy a HDD, since it does not need to store that much. Then I went to aldi and they had 8gb flash drives for $5, so I got 6. The ultimate question comes down to the best way to make use of them. I ordered a 7 slot USB hum off ebay for cheap, and I was going to go from there. would it be easier/better to just plug them in and make links to them from the normal folders and just operate directly from there, or is there a better option. I guess a usb raid array could be neat

View 4 Replies View Related

General :: Copying Directory List Into Array Then Accessing It

Jul 22, 2010

What I'm trying to do: write a script that will list all the directories in a given location. Ask the user to enter a number corresponding to the location of the directory in the list, and then moving into that directory.

I have written a script to do this, but it only works when I run it as: <user>$program_name and the script runs in a sub-shell. But, when it is run in a sub-shell, the changes made by the script go away after the script ends.

When I run it as:
<user>$. program_name
and the script runs in the current source shell, I get an error:
bash: cd: /home/dev/Project/dirname: No such file of directory

Code:
IFS='
' read -d '' -a ArrName < <(ls ~/Projects)
read filenumber
cd $HOME/Projects/${ArrName[$filenumber]}

View 6 Replies View Related

Ubuntu Installation :: 10.10 LiveCD Won't Boot With Some LG Drives

Nov 17, 2010

A 10.10 LiveCD (burned from the ISO image) won't boot my system using my LG GSA-4167B DVD drive which has been working fine for several years.Upon boot, Ubuntu starts to boot up. The splash screen appears. The drive activity light flashes for a while and it sounds as if things are progressing. Then the drive gets into a funky pattern: click-click-spin fast. click-click-spin fast...

The purple splash screen is still present, with 5 red dots (not flashing) The LG drive happily boots up a Windows CD, BartPE CD, Ultimate Win CD, Macrium recovery CD, Gentoo distro CD, etc etc. Only the Ubuntu 10.10 LiveCD is problematic.Oddly, a 10.04 LTS LiveCD obtained with the book "Ubuntu for Non-Geeks" boots OK. (that CD is not burned at home). The LG GSA-4167B is 2005 vintage, with IDE interface. I swapped it for an even older (2004) LG DW1610 DVD drive. That drive boots the 10.10 LiveCD just fine.

I downloaded the 10.10 ISO image a second time and burned a second copy. Same results. The LG website had new firmware available for the GSA-4167B drive, so I downloaded that and flashed the drive. No change - it still won't boot the 10.10 CD. Are LG drives known to be problematic with Ubuntu? Are the CD-DVD drivers on the LiveCD limited in their functionality? If I go out and buy a new drive, should I avoid LG products? Perhaps I'l try burning the 10.10 ISO on to a DVD and see if that makes any difference.

View 9 Replies View Related

Networking :: PC Many Hard Drives - Use It As A Storage Cluster?

Nov 30, 2010

Have many computers at works. Not always on as students works on it from time to time. I already have a nfs server for files, but there's plenty of disk space on workstations. I wanna make use of it as a "performance booster".Which distributed file system should i use ? Looked for Plan 9 fs, but seems a bit new and "complicated" for me.

View 2 Replies View Related

Ubuntu Installation :: Virtualbox Not Accessing Drives?

Aug 30, 2010

I am running Virtualbox with Win XP on Ubuntu 10.04, Everything is mostly ok, but I find two problems. I cannot seem to find a way to access my second (physical) harddrive as well as DVD writer. I have tried to add it to shared folders in Virtual box, but no go. I can , however, access my USB drives ok, after I found out about the Vbox user permissions. But what I do notice is that it seems Ubuntu unmounts the USB drive as soon as Vbox "mounts" it. Is there no way to have these drives mounted simultaneously on both platforms ?

View 4 Replies View Related

Ubuntu :: RAID 5 Array With 4 2TB Hard Drives?

Mar 17, 2010

I want to make a RAID5 array with 4 2TB hard drives. One of the drives is full of data so I will need to start with a 3 disks and then once I copy the data from the 4th onto the array, I will then add the 4th drive. This will be my first experience with RAID. I've spent a few hours searching for info but most of what I have found is a bit over my head.

View 9 Replies View Related

Ubuntu :: Create A Raid0 Array Of Drives?

Feb 20, 2011

Just got 3 extra drives for my machine.

2x160Gb sata
1x 165Gb sata

How do i create a raid0 array of these drives? On each drive i have got a partition whose size is 160GB and formatted to type fd (Raid Autodetect) i have tried the following:

Code:
mdadm --create /dev/md0 --level=0 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sda1
mkfs.ext4 /dev/md0
mount /dev/md0 /media/raid
but for some reason it doesnt work.

[Code]...

View 5 Replies View Related

Ubuntu :: Accessing External USB Drives Using NoMachine Client?

Jan 21, 2010

I have an Ubuntu jaunty fileserver. I connect to the machine from time to time using the Nomachine client on windows.Everything is setup and working perfectly, except for one thing. When I acces the server remotely, I cannot access any external USB drives connected to it. The drive mounts fine, and is available when logged on locally to the machine, just not when logged in via Nomachine.

View 4 Replies View Related

Ubuntu :: Combine The 2 Additional Drives Into A RAID 1 Array?

May 11, 2011

I got my system up and running with the Grub installed on my primary hard drive. I have not installed 2 additional drives. I would like to combine the 2 additional drives into a RAID 1 array. I can only find tutorials on how to do this during initial install. I cannot find one that tell me how to do it after the install. Is there a way?

View 3 Replies View Related

OpenSUSE :: Role Of Hfs+ Media Storage Drives In HTPC's Instability - Particularly In XBMC?

Jun 14, 2011

So recently I've been trying out openSUSE, along with a few other distros, for use on my HTPC. Previously, I'd been using a hackintosh build, so my external media storage HDDs are all formated HFS+. It was actually surprisingly easy to get openSUSE to mount them for both reading and writing.

Only thing is, XBMC has been pretty unstable on all of the linux distros I've tried, and I'm wondering to what degree the HFS filesystem might be affecting things? It would take a fair bit of juggling -- or going out and buying a new multi-TB HDD -- to clear out the disks in turn so as to reformat them with an ext filesystem, but if that would help me get a more stable HTPC with opensuse -- the linux distro I've settled on -- it'd be worth it. I'll paste a link to the log from an xbmc crash, in case that would be helpful, but really, I'm just curious, since I don't really know all that much about how different filesystems work or anything, how much extra strain does the filesystem translating entail?

View 5 Replies View Related

Ubuntu Servers :: RAID-1 OS Drives - Setting Up A Backup Procedure For The OS Drives

Jan 18, 2010

I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.

Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.

Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.

View 4 Replies View Related

Ubuntu :: Machine And 'tried' To Create A 4 Disk RAID6 Array On Four New 4TB Drives?

May 30, 2010

I installed 10.04 on a new machine and 'tried' to create a 4 disk RAID6 array on four new 4TB drives.The build seemed to go fine, but a check on the new dev shows the following:

/dev/md0:
Version : 00.90
Creation Time : Sun May 30 21:53:11 2010

[code]....

View 1 Replies View Related

General :: Check On Hard Drives In RAID 1 Array?

Feb 23, 2010

I'm renting a dedicated server with a company that claims that the server has 2 hard drives in a software RAID 1 array, but I need to make sure that the server really has the 2 HDD, and the size of the 2nd drive... how to do that ?? system is Centos 5.3

View 1 Replies View Related

CentOS 5 :: Upgrading RAID5 Array With Larger Drives?

Feb 17, 2011

I have a CentOS 5 based Linux system with a 3Ware 9550SU RAID card and four 500GB drives set up in a RAID5 array (3 in the array and 1 hot spare).

I want to 'replace' these drives with four 2TB drives without data loss. My server case has a total of 8 drive bays all hot-swap and all attached to the RAID card, this means I have four empty drive bays on the RAID card.

One thought is to put the four new 2TB drives in the empty drive bays, configure them in a new RAID5 array. Then the question is now to I "mirror" the original RAID5 array over to the new one?

This is just a thought though, I am not sure it will work. In short my question to this forum is how do I accomplish this upgrade?.

View 4 Replies View Related

OpenSUSE Hardware :: Accessing NTFS Drives Without Being Propted For A Password?

Apr 25, 2010

I use OpenSuse 11.2 and Windows XP. After booting to OpenSuse, I can see NTFS drives are mounted but I am always being asked for a password to access them. Is it possible to access NTFS drives without typing a password? The reason is I created links referring to folders and files stored on the NTFS drives.

View 9 Replies View Related

General :: Create A RAID1 (mirroring Only) Array With 3 Live Drives?

Jun 16, 2010

I'm not entirely a newbie, but this seems like such a simple question I'm not sure where else to ask it. I checked through the various HOWTOs and searched already and didn't find a clear answer, and I want to know for sure before we start investing in hardware. Is is possible to create a RAID1 (mirroring only) array with 3 live drives, rather than with 2 live plus a spare? Our goal is to have 3 drives in a hot-swap bay, and be able to pull and replace one drive periodically as a full backup. If I do:

[URL]

View 2 Replies View Related

Server :: Raid 1 - Resync The Drives In The Array Hda Primary And Hdc Secondary Using Mdadm?

Nov 30, 2010

I am learning software raid 1 with centos 5.5. I created the raid with out any problems and removed the first drive to check there was no problems and it booted. I have installed the old drive back in the system as hdc and need to resync the drives (used old drive as partitions correct) I thought I could use raidhotadd but id does not seem to exist anymore. how I resync the drives in the array hda primary and hdc secondary using mdadm

View 1 Replies View Related

Server :: Raid 10 Not Assembling Mdadm Assembled From 2 Drives - Not Enough To Start The Array?

Feb 20, 2011

This is message I get when I try and start itmdadm: /dev/md0 assembled from 2 drives - not enough to start the arrayBelow is the information I've collected about any help on how I can get the raid back up and going to I can get the data off of it would be awesome

sudo mdadm --examine --scan -v
ARRAY /dev/md0 level=raid10 num-devices=4 UUID=91c36708:a7cbb532:5b51dc92:ba008491
devices=/dev/sdd1,/dev/sdc1,/dev/sdb1,/dev/sda1

[code]...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved