Home Lab - Odd Issue
-
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.
-
I'll be back, going to reinstall!
-
Now performing the install yet again, I see the key difference with the installer.
The initial screen (for what ever reason) was only installing to the local spinning rust array, rather than the 8GB Drive.
I found a 16GB and restarted the installation, at which point it listed 2 devices to chose from to install Xen too.
Wow I wished I noticed that before hand lol
-
And we are back in action!