Server :: Array Md0 Is Not Being Automounted During Boot

Aug 6, 2010

I've been experiencing that my md array md0 is not being automounted during boot for strange reason Checking up the boot log I saw: md: md0 switched to read-write mode. And after boot, checking out /proc/mdstat :
# cat /proc/mdstat

Personalities : [raid1]
md0 : active (auto-read-only) raid1 sdb1[0] sdc1[1]
976759936 blocks [2/2] [UU]

While auto-read-only mode I cannot mount md0 So if I put

[Code]....

It gets mounted perfect... But its pretty bad that it doesnt automount, since is a linux server running Debian Lenny with kernel 2.6.32-2 and on that array (not root) there are virtual machines KVM images that should also boot after system load.

View 3 Replies


ADVERTISEMENT

Fedora :: Boot Partition Was Not Being Automounted After Booting Into 13?

May 15, 2011

boot partition was not being automounted after booting into Fedora 13, yet I was still installing updates, including kernel updates. What has ended up happening is I have old kernels (from removed/outdated packages) that still live in my boot partition, and the new kernels (from my updates) live on the root filesystem under the /boot directory. So when I reboot, grub only sees the old kernels.To demonstrate this, here are some lists.These are the contents of my actual boot partition (grub sees these):

Code:
vmlinuz-2.6.34.7-56.fc13.i686 (packaged not installed)
vmlinuz-2.6.34.7-61.fc13.i686 (packaged not installed)

[code]....

View 3 Replies View Related

Debian Hardware :: WD Passport Isn't Automounted

Feb 19, 2011

I used Squeeze live disc to verify that it supports my laptop fully. Squeeze was able to detect and load my USB WD Passport 250GB drive. I installed the OS and now the same drive isn't automounted. Every time I plugin the drive I see following message:

Unable to mount Data-istan
Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

My drive is named Data-istan. I faced some other issues but found help on Wiki but couldn't find help related to this topic. I intend to put all my experience on Wiki. FYI, I have ntfs3g package already installed.

View 5 Replies View Related

CentOS 5 :: Nautilus Does Not Stop Automounted NFS From Unmounting?

Jun 22, 2010

A client is having a problem with a recently installed CentOS 5.5 x86_64 Virtual Machine (under VMware ESX 3.5). The problem is reported by the user as "Nautilus windows closing after a time when looking at data from the NFS server".

The folders the user is using are in a file system that is NFS mounted from a Solaris 10 file server cluster (VCS). These are mounted using autofs. These are direct mounts as in:

$ grep ^/- /etc/auto.master
/- /etc/auto.direct
$ cat /etc/auto.direct
/opt/user-data fileserver:/export/org/data/something/something

I have reproduced the problem by logging in and opening a number of folders using Nautilus under /opt/user-data. After a while, all Nautilus folder windows that are under /opt/user-data will close and when this occurs you can see from the command line that autofs has unmounted the area from the file server.

This should not occur because Nautilus having a window open should count as the folder being in use and should stop autofs from unmounting it. I don't know if this is an autofs or Nautilus bug but I suspect it's a Nautilus bug in it not keeping some kind of access open on the folder. System information:

The system was updated at install time. /boot/grub/grub.conf has "divider=10" appended to the kernel line.VMware Tools are installed. NTP is also configured and steps the time to UTC at boot if required (maybe this is overkill). autofs and Nautilus versions are:

$ rpm -qa | egrep autofs|kernel|nautilus | sort
autofs-5.0.1-0.rc2.143.el5.x86_64
kernel-2.6.18-194.3.1.el5.x86_64
kernel-2.6.18-194.el5.x86_64
nautilus-2.16.2-7.el5.x86_64

[Code]...

View 6 Replies View Related

Ubuntu :: Permissions Of Mount Points For Automounted Devices

Jan 14, 2010

Ubuntu 9.10. I have a problem - when I mount other partitions of my hdd or the system automounts usb disks these are mounted in /media directory with permissions 0700. So there are two problems there:
- When I switch user on my desktop to another that user can't read data from the usb disks
- I can't share data through network because smbd doesnot have read permissions on the created mount points

I think editing /etc/fstab is wrong way, there would be more right way to change permissions on mount point. I tried to change/add parameters umask, allow_other in gconf-editor (/system/storage/default_options, subsections vfat and ntfs-3g) but that does not show any results. Article [URL] recommends Open Places → Computer. Every volume except the generic File system one should have a Drive and Volume tab in its properties dialog where you can set mount options. But I did not find those tabs. Where should I set option to mount usb disks with permissions rwx for every user of my system?

View 9 Replies View Related

Ubuntu Multimedia :: `mount' Shows The Camera Never Gets Automounted?

Jul 20, 2011

I have an Olympus D-560 ZOOM. I used to be able to download pictures from the camera with: SuSE, Fedora, early Ubuntu, etc. (I still can mount and download from my camera on these systems.) I now have Ubuntu 10.04LTS and no longer is my camera recognised. I cannot make sense of the forum threads on this topic, dating back to Ubuntu 8.0-something, that generally ramble on for endless pages without reaching a sensible conclusion (it's a bug, it's not a bug, it's because of gphoto2, it's a gvfs problem, etc.). So maybe there is a definitive answer why my camera that works on other linux will not work on Ubuntu, and maybe by now there is a real fix that does not involve me rebooting my laptop into an old linux distro.

`mount' shows the camera never gets automounted. Manually `mount /dev/sdb1 /media/camera' sometimes hangs and never completes, or sometimes answers immediately `mount: /dev/sdb1 is not a valid block device'. Output in /var/log is below.What's going on, and how can I fix it? I do not use, and I do not want to use, fstop, gphoto, gimp or any other specific software to access my camera (I have tried to download using these anyway and nothing works), I just want to mount the camera as though it were a flash drive in the same manner I have always done. Remember, this does not happen on other distros or early Ubuntu.Here is the relevant output notations in /var/log/messages and /var/log/syslog.

Jul 20 14:34:17 grace kernel: [12402.825779] usb 5-1: new full speed USB device using uhci_hcd and address 11
Jul 20 14:34:18 grace kernel: [12403.013923] usb 5-1: configuration #1 chosen from 1

[code]....

View 9 Replies View Related

General :: USB Drives Aren't Automounted: Debian Testing?

Jun 4, 2011

I'm using Debian Testing & it does not automount any external usb devices.

Here's what I've checked:
gconf-edit->app->nautilus->preferences->media_automount: checked
gconf-editor->desktop->gnome->volume_manager->automount_drives & automount_media:checked

[code]....

View 13 Replies View Related

Fedora :: Permission Denied - Cannot Run Install Script From Automounted CDROM?

Nov 10, 2010

I'm running Fedora 14, with a SATA interface CD/DVD drive and I'm attempting to run an installation script on a CD for an embedded Linux learning kit.Logged in as root (su), I receive:bash : /media/EmbeddedLinux/install_tools Permission DeniedI have searched and see similar situations on the web, but not exactly the same.I cannot resolve this issue using chmod, and find no relevant exec rights set in /etc/fstab.Using mount I find the (automounted) CD drive on /dev/sr0.I've searched quite a bit but never could find the thread that was supposedly listed in this forum.I understand that I should be able to copy the contents of the folder to my machine, then execute, but if possible I would prefer to address the real cause, not go around it.Also, where on earth will I find the location of whatever is affecting the ability to execute from an automounted media?

View 5 Replies View Related

CentOS 5 Server :: PHP SOAP Server Returns Array Using NuSOAP Library?

Jul 2, 2009

I have a function in my SOAP server that returns an array. When the client calls this function, it only receives "array", and when I use foreach to print each member of this array, it tells me that this is not an array. If I change the returned value of the function to a string or integer type everything works fine though, so I don't think that there is any problem with the client.I am using NuSOAP library on php to achieve that.I had doubt when declaring the type of return value of the function. In XML schema there is no array type, so I specified the return value as a string like this:

PHP Code:
$server->register("getLocation",
array('country_population' => 'xsd:string',

[code]....

View 1 Replies View Related

General :: Convert Full-disk RAID5 Array To Partition-based Array?

Dec 23, 2010

I have a RAID 5 array, md0, with three full-disk (non-partitioned) members, sdb, sdc, and sdd. My computer will hang during the AHCI BIOS if AHCI is enabled instead of IDE, if these drives are plugged in. I believe it may be because I'm using the whole disk, and the AHCI BIOS expects an MBR to be on the drive (I don't know why it would care).

Is there a way to convert the array to use members sdb1, sdc1 and sdd1, partitioned MBR with 0xFD RAID partitions?

View 1 Replies View Related

Software :: Bash - Indirect Array Reference To Array With Values Containing Spaces?

Jun 4, 2010

This _almost_ works. I just can't quite get it to honor the spaces.

Code:

#!/bin/bash
profiles=(
PROFILE_ONE
)
PROFILE_ONE=(setting1 "setting number 2")

[code].....

View 9 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

General :: Bash: Calculating In Array And Storing Result In Array?

Dec 2, 2010

I have an array called arrayini which stores numbers. I want to take log to the base 2 of each of the numbers in that array and put it in file called result. I've used the following code to do it.

Code:

size=${#arrayini[@]}
for ((i=0;i<size;i++))
do
echo "scale = 12; l(${arrayini[$i]})/l(2)" | bc -l
done >result

It works fine but its taking pretty long to calculate since I've got about 230,000 items in the array. So I decided to store the result into an array hoping that it'd be faster. I tried the following code. arrayresult is where I try and store the result. The code doesn't work because of the second last line.

Code:

unset arrayresult
size=${#arrayini[@]}
for ((i=0;i<size;i++))
do
arrayresult[$i]="scale = 12; l(${arrayini[$i]})/l(2)" | bc -l
done >FILE2

There is a syntax error clearly.

View 6 Replies View Related

Programming :: C Realloc Resize Array / Delete And Add Information Into The Array?

Mar 6, 2011

I am trying to dynamically delete and add information into the array "blah"

Code:
int blahsize = 1;
char** blah = (char**) calloc(blahsize+1,sizeof(char*));
Adding information:
Code:
blah[1]=stuff1;
blah[2]=stuff2;
code....

View 2 Replies View Related

Debian Installation :: No Boot From RAID Array?

Dec 22, 2010

I installed Debian 5.0.3 (Backport with .34 Kernel), because my server hardware (Dell PowerEdge R210) needs special firmware and drivers.However, the installation went quite smooth.I put the system on a RAID 1 Array with about 500 GB space.s I said the installation went well, however, it doesn't boot! No GRUB, nothing

View 4 Replies View Related

Debian Hardware :: Degraded Array On Boot?

May 6, 2011

I recently upgraded from lenny to squeeze, and my raid array is degraded immediately after boot. Some info on my machine: I've got a built-in SATA II chipset with 4 drives /dev/sda-d that I use for my RAID5 system, and an IDE drive /dev/sde. Before I upgraded to squeeze, the IDE drive was at /dev/hda. I did the usual 2-step upgrade (kernel/udev first, reboot, then everything else). After the first reboot, the IDE drive became /dev/sda and the SATA drives were /dev/sdb-e. I updated mdadm.conf to reflect the new drive naming and added /dev/sde to the array; it rebuilt successfully everything was back online. After the 2nd reboot, the IDE drive became /dev/sde and my SATA drives went back to /dev/sda-b. No biggie; updated mdadm.conf again, rebuilt, and everything works.

Now that everything has been upgraded, the RAID array still becomes degraded upon boot. I can always add /dev/sda back to the array, and it's always rebuilt successfully. Here are some interesting lines from dmesg:It finds all my drives:

[ 2.376202] scsi 0:0:0:0: Direct-Access ATA ST31000340AS AD14 PQ: 0 ANSI: 5
[ 2.376636] scsi 1:0:0:0: Direct-Access ATA ST31000340AS AD14 PQ: 0 ANSI: 5
[ 2.376968] scsi 2:0:0:0: Direct-Access ATA ST31000340AS AD14 PQ: 0 ANSI: 5

[code]....

View 3 Replies View Related

Ubuntu Installation :: RAID Array Will Not Boot (x64)?

Sep 15, 2010

I am using the 10.04.1 x64 Kubuntu live CD to install Kubuntu on my FakeRAID 0 array, I tell it not to install grub as i know it is still currently broken. the install goes flawlessly. However on first boot using my live grub CD unless i tell my computer to point to the CD it will hang (which it is told to boot from CD first so i'm not sure why it does.) When i tell it to boot to Linux, it will not boot saying the kernel is missing files (to much to sadly list, all i do not understand) then offers me a terminal to input "help" into for a list of Linux commands. Windows 7 pro x64 works just fine CD was downloaded VIA P2P if it matters

View 6 Replies View Related

Software :: RAID Array Broken On Boot?

Jan 18, 2010

I have an issue with a RAID array failing on boot. Seems like an issue with the file system. I get passed the RAID BIOS (and from what I can see, it looks alright there, all devices appear), but then the following error messages appear:

Code:

raid5: failed to run raid set md0
mdadm: failed to RUN_ARRAY /dev/md0 input/output error
mdadm: Not enough devices to start the array

and further down:

Code:

fsck.ext3: Invalid argument when trying to open /dev/md0
/dev/md0:
The superblock could not be read or does not describe a correct ext2

[code]....

I then login with root password to get a "Repair file system" prompt. Tried with fsck, but not working. It's 4x1TB in RAID5 on HighPoint RocketRAID 2300 4P SATA II/300, with Fedora 9. Not sure what other system info might be needed.

View 5 Replies View Related

Slackware :: RAID Array Not Detected On Boot?

Aug 16, 2010

I have a raid array level 5 with metadata 1.2 made with mdadm. I put it on /etc/fstab to mount it on boot but it doesn't works because the raid is not detected on boot. I have a /etc/mdadm.conf like this:

Code:

ARRAY /dev/md0 level=raid5 num-devices=3 metadata=1.2 name=0 UUID=afdfe00e:0d18a5eb:29aa54f9:8b422ee0

Just another thing... After the command

Code:

mdadm --detail --scan >> /etc/mdadm.conf

The mdadm.conf is like this:

Code:

ARRAY /dev/md0 level=raid5 num-devices=3 metadata=1.02 name=0 UUID=afdfe00e:0d18a5eb:29aa54f9:8b422ee0

But I change manually the metadata version because the 1.02 give me a error. I don't know if it is a bug or what! Beside this. I have to put a line in /etc/rc.d/rc.local to assemble the array.

Code:

mdadm --assemble --scan --uuid=afdfe00e:0d18a5eb:29aa54f9:8b422ee0

And after that I already can mount it. Why the array is not detected on boot? Is because metadata type is prior to 1.00? Can I put the line I have on /etc/rc.d/rc.local to assemble the array in another file, that will be executed before /etc/fstab?

View 5 Replies View Related

Ubuntu :: Raid1 Array Won't Start On Boot

Jan 2, 2011

I created a raid1 disk with Disk Utilities on with Karmic, then upgraded my system to Lucid then Maverick. This Raid disk is just a data store, I'm not booting off of it. when I reboot the raid1 disk does not start. I have to go into Disk Utilities, stop the array and then start it. Then it comes up and I can mount it. I ran dpkg-reconfigure mdadm and it created a valid entry in mdadm.conf. but the array still does not start on boot. I want to have it auto mount with fstab but need to make sure the array starts first.

View 12 Replies View Related

Programming :: Convert Short Array To Char Array?

Jun 7, 2010

I have trouble converting a short array to a char array

Code:

short pShort[4] = { 0x41, 0x42, 0x43, 0x44 };

How to convert this to a char array?

View 4 Replies View Related

Fedora :: RAID5 Failure During The Boot Process, And Can't Find The Array?

Mar 31, 2011

I am able to retrieve data off a RAID5 array. History: My system disk was partitioned to 10 gigs and over time was filled up to 100% locking me out of the GUI (I am a casual user). Now that I am relegated to the CLI, I need help to see if rebuilding the array and keeping the data intact is possible. I have three sata hard drives in the array and now it appears during the boot process, it fails and can't find the array.

I did the following:
mdadm -D /dev/md0

and here's some of the output:

State: active, FAILED, Not Started

And out of three drives, it states that two have failed. I find this hard to believe as I have had no issues until my system disk was full. A coworker today helped me find some files to delete and now have the system disk down to 97%/8.8 gigs yet I can still not enter the GUI due to the array issue.

Out of the three discs, here are the results (taken also from mdadm -D /dev/md0):

Number Major Minor RAID device STATE
0 8 1 0 active sync /dev/sda1
1 0 0 1 removed
2 0 0 2 removed

Sorry for providing so little, but I am in (Repair Filesystem) mode and only have local access to the machine meaning all outputs will need to be retyped.

I am able to do anything to the box as its only purpose was media storage and serving.

View 14 Replies View Related

Ubuntu :: Unable To Boot Due To Changed UUID In RAID Array

May 9, 2010

I'm running 64bit Lucid. I've recently had a severe problem with my softraid (5) array, and have had to recreate the array to fix it. However this now means that something is up with GRUB/initramfs, and booting times out while waiting for the root device (md0) to be ready. /boot is on a normal partition, not the raid array itself. A friend of mine has rebuilt my initramfs file with the new UUID, but now I get the message: 'Kernel panic not syncing: VFS: unable to mount root fs on unknown-block (9,0)'.So my question is either how do I sort this error, OR how do I rebuild initramfs/grub in a way that will boot?

View 6 Replies View Related

Ubuntu Servers :: 10.04 LTS Degraded Software RAID5 Array With LVM Won't Boot?

Jul 5, 2010

I also get sent to a Busybox (initramfs) shell with no text editor and don't know how to copy all the error messages and post them here. If there is a way, let me know. I've typed it out in the meantime:

Code:
md0 : inactive sdxxxx
Attempting to start the RAID in degraded mode...
mdadm: CREATE user root not found
mdadm: CREATE group disk not found

[Code].....

This is with a 3 disk RAID5 array. I turned off the system, pulled out a drive, and started it back up. Fresh install, all I've done so far is apt-get update and upgrade.

View 4 Replies View Related

Ubuntu Servers :: Raid Array Incorrectly Assembled On Boot

Feb 20, 2011

I've got a couple of new hard disks that I have partitioned (3 partitions per disk) and set up in a mirrored software raid array using mdadm. They've synced, I've put file systems on them (1 x ext4, 2 x luks + ext4) and I can mount them. I've checked the partitions using fdisk. I've checked the filesystems using fsck. So far so good. Next step is that I'd like mdadm to automatically assemble them on boot. (Not bothered about mounting and crypttabing yet.)

I've used sudo /usr/share/mdadm/mkconf to generate a new mdadm.conf with the appropriate UUIDs for the new partitions. I've checked that this matches the output of sudo mdadm --detail --scan

The new lines in this file are:

ARRAY /dev/md9 level=raid1 num-devices=2 UUID=470fb8a6:45561fe0:ebda4a02:9ba7a1ed
ARRAY /dev/md10 level=raid1 num-devices=2 UUID=f351fbba:c704a4b2:ebda4a02:9ba7a1ed
ARRAY /dev/md8 level=raid1 num-devices=2 UUID=c6ccec17:2274588e:ebda4a02:9ba7a1ed

To check that the mdadm.conf is fine I have stopped the new arrays:

[Code].....

View 7 Replies View Related

Ubuntu :: Upgrade To Natty Fails To Boot (RAID5 Array)

May 20, 2011

My box has a raid5 array (mdadm) with everything in it (/boot and /) but swap that is actually spread across the 4 drives. I had ubuntu 10.10 installed (amd64) with grub1, when I upgraded to natty (11.04) it automatically installed grub2. Well boot fails, it always goes to grub rescue no matter what happens. I've installed and reinstalled grub2, and boot always fails with:

"error: file not found".

In grub rescue I can see that md0 is actually available, an "ls" to (md0)/boot succeeds but the strange thing is that an "ls" to (md0)/boot/grub prints nonsense, as does an "ls" to (md0)/boot/usr/lib/grub/i386-pc/. When I try to load the required modules for boot (linux raid etc) in grub I also always get a "file not found error" (I fsck'd md0, which says everything's fine). I have installed the latest version of grub2 and executed grub-install in all four drives.

View 6 Replies View Related

Programming :: Converting A PHP Array Into An HTML Array?

Aug 9, 2009

I'm writing a PHP program. I've encountered a problem; in the following code I try to pass $_POST['delete'] which is an array as the value of a hidden input to some form, but it doesn't do so.there's something wrong with converting PHP array into HTML array. I'm sure that $_POST['delete'] is not null and is a real array.

echo '<input type="hidden" name="delete[]" value="'.$_POST['delete'].'" />';

View 4 Replies View Related

Software :: RAID 5 Array Not Assembling All 3 Devices On Boot Using MDADM - One Is Degraded

Aug 31, 2010

I have been having this problem for the past couple days and have done my best to solve it, but to no avail. I am using mdadm, which I'm not the most experienced in, to make a raid5 array using three separate disks (dev/sda, dev/sdc, dev/sdd). For some reason not all three drives are being assembled at boot, but I can add the missing array without any problems later, its just that this takes hours to sync. Here is some information:

[Code]....

View 11 Replies View Related

Slackware :: 13 Boot DVD Doesn't Recognize Adaptec 2005S RAID5 Array

Apr 6, 2010

I'm attempting to upgrade a server from Slackware 10.2 to Slackware 13.0. When I boot with the Slackware 13.0 Install DVD, fdisk will not recognize the RAID5 array; it complains about being unable to seek on /dev/sda. The system is a SuperMicro motherboard with onboard SCSI and an Adaptec 2005S Zero-Channel-RAID card; it works fine in Slackware 10.2 using the dpt_i20 driver.

View 1 Replies View Related

Ubuntu :: How To Uninstall Server (Raid 5 Array)

Dec 10, 2010

I have acquired a dell 2850 poweredge server and installed ubuntu server onto only to find out we cant use linux for its intended use and need to uninstall remove ubuntu and it has a raid 5 array on the server.

View 1 Replies View Related







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