ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Home Lab - Odd Issue

    Scheduled Pinned Locked Moved IT Discussion
    47 Posts 7 Posters 9.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      What does...

      cat /proc/mdstat
      

      tell you?

      1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403
        last edited by DustinB3403

        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.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403
          last edited by

          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.
          
          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @DustinB3403
            last edited by

            @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?

            1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by

              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
              
              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                That looks like an HP SmartArray controller.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @DustinB3403
                  last edited by

                  @DustinB3403 said:

                  You're running a lot of commands but not answering any questions 😉

                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by

                    It is an HP Smart Array, in a DL360 G5

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @DustinB3403
                      last edited by

                      @DustinB3403 said:

                      It is an HP Smart Array, in a DL360 G5

                      Ah, okay. So that makes this a lot easier.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        What do these commands say...

                        df -h
                        

                        and

                        lvs
                        
                        1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403
                          last edited by

                          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-install

                          And

                          lvs
                            No volume groups found
                          
                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            You appear to be booted into the RAID array. Your root filesystem is located there.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              You are running from the RAID, as @Dashrender hypothesized, not from the USB stick.

                              1 Reply Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403
                                last edited by

                                hrm... that's very odd....

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  DustinB3403
                                  last edited by

                                  I performed the identical installation as I have previously, and the OS was installed to the USB drive.

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @DustinB3403
                                    last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403
                                      last edited by

                                      But it does make sense now 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403
                                        last edited by

                                        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.

                                        1 Reply Last reply Reply Quote 0
                                        • DustinB3403D
                                          DustinB3403
                                          last edited by

                                          I'll be back, going to reinstall!

                                          1 Reply Last reply Reply Quote 0
                                          • DustinB3403D
                                            DustinB3403
                                            last edited by

                                            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

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • First post
                                              Last post