Home Lab - Odd Issue
-
@DustinB3403 said:
OK so it would appear, that the RAID is orphaned from the Host OS, which makes perfect sense.
How can I go about deleting the orphaned storage, or just formatting the entire raid from within Xen?
You should be able to attach it again.
-
Any recommendations as to how, reading everything from online is not only vague, but often misleading
-
What does...
cat /proc/mdstat
tell you?
-
When I try to recreate the filesystem using
pvcreate /dev/cciss/c0d0p1 Can't open /dev/cciss/c0d0p1 exclusively. Mounted filesystem?
That is what I receive.
-
Attempting to perform the below:
# xe sr-create content-type=user type=ext device-config:device=/dev/cciss/c0d0p1 shared=false name-label="Local Storage" The SR operation cannot be performed because a device underlying the SR is in use by the host.
-
@DustinB3403 said:
When I try to recreate the filesystem using
pvcreate /dev/cciss/c0d0p1 Can't open /dev/cciss/c0d0p1 exclusively. Mounted filesystem?
That is what I receive.
Wait, do you have hardware RAID or software RAID?
-
Performing a fdisk -l results in:
# fdisk -l WARNING: GPT (GUID Partition Table) detected on '/dev/cciss/c0d0'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/cciss/c0d0: 440.3 GB, 440346238976 bytes 256 heads, 63 sectors/track, 53326 cylinders Units = cylinders of 16128 * 512 = 8257536 bytes Device Boot Start End Blocks Id System /dev/cciss/c0d0p1 * 1 53327 430025623+ ee EFI GPT Disk /dev/sda: 8074 MB, 8074035200 bytes 2 heads, 63 sectors/track, 125155 cylinders Units = cylinders of 126 * 512 = 64512 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 125156 7884768 b W95 FAT32
-
That looks like an HP SmartArray controller.
-
@DustinB3403 said:
You're running a lot of commands but not answering any questions
-
It is an HP Smart Array, in a DL360 G5
-
@DustinB3403 said:
It is an HP Smart Array, in a DL360 G5
Ah, okay. So that makes this a lot easier.
-
What do these commands say...
df -h
and
lvs
-
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p1 4.0G 1.8G 2.0G 47% /
none 932M 20K 932M 1% /dev/shm
/opt/xensource/packages/iso/XenCenter.iso
56M 56M 0 100% /var/xen/xc-installAnd
lvs No volume groups found
-
You appear to be booted into the RAID array. Your root filesystem is located there.
-
You are running from the RAID, as @Dashrender hypothesized, not from the USB stick.
-
hrm... that's very odd....
-
I performed the identical installation as I have previously, and the OS was installed to the USB drive.
-
@DustinB3403 said:
hrm... that's very odd....
Who knows what the storage looks like now that a new partition has been created over top of the filesystem that was there before.
-
But it does make sense now
-
I'm not concerned with the data on the RAID.
I just want it corrected. Installed to the USB drive, and running from said USB. While having the local RAID 10 array for VM storage.