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

    xenserver error fsck

    IT Discussion
    11
    127
    10.6k
    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.
    • DustinB3403D
      DustinB3403
      last edited by DustinB3403

      backing up metadata doesn't look like it'll work. at least to the localhost.

      DashrenderD 2 Replies Last reply Reply Quote 0
      • DashrenderD
        Dashrender @DustinB3403
        last edited by

        @DustinB3403 said in xenserver error fsck:

        backing up metadata doesn't look like it'll work. at least to the localhost.

        is it failing?

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

          @DustinB3403 said in xenserver error fsck:

          backing up metadata doesn't look like it'll work. at least to the localhost.

          In that case, open XC or XO and write down the label of every VM, along with the disks for each and their exact order, along with the assigned resources (RAM, CPU).

          then you can manually recreated them after the reinstall, then reattach the VDIs to the VMs.

          This is what I had to do when boot system died.

          DustinB3403D 1 Reply Last reply Reply Quote 1
          • DustinB3403D
            DustinB3403 @Dashrender
            last edited by

            @Dashrender said in xenserver error fsck:

            @DustinB3403 said in xenserver error fsck:

            backing up metadata doesn't look like it'll work. at least to the localhost.

            is it failing?

            Yes, saying0_1485554847068_2017-01-27_17-07-17.png

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

              @Dashrender said in xenserver error fsck:

              @DustinB3403 said in xenserver error fsck:

              backing up metadata doesn't look like it'll work. at least to the localhost.

              In that case, open XC or XO and write down the label of every VM, along with the disks for each and their exact order, along with the assigned resources (RAM, CPU).

              then you can manually recreated them after the reinstall, then reattach the VDIs to the VMs.

              This is what I had to do when boot system died.

              So VM UUID and Disk UUID (and order)

              1 Reply Last reply Reply Quote 1
              • BRRABillB
                BRRABill
                last edited by

                What about this?

                Collect VM metadata and store on shared storage.
                xe-backup-metadata -u <UUID of SR you want the metadata saved to>
                This creates a VDI containing VM metadata. Having this metadata available speeds up VM recovery because it creates the VM itself and restores the mappings between VMs and their disks (VDIs) - Otherwise must be done manually.

                1 Reply Last reply Reply Quote 0
                • BRRABillB
                  BRRABill
                  last edited by

                  Wnen I hit backup in xsconsole it gives me an option of where to store it.

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

                    @BRRABill said in xenserver error fsck:

                    Wnen I hit backup in xsconsole it gives me an option of where to store it.

                    Do you have a local usb or something attached?

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

                      I do get a prompt of where to backup too, but local storage is the only option.

                      BRRABillB 1 Reply Last reply Reply Quote 0
                      • BRRABillB
                        BRRABill @DustinB3403
                        last edited by

                        @DustinB3403 said in xenserver error fsck:

                        @BRRABill said in xenserver error fsck:

                        Wnen I hit backup in xsconsole it gives me an option of where to store it.

                        Do you have a local usb or something attached?

                        No. In fact my only option is my SR location.

                        Probably since the USB is having issues, maybe you can't back up the metadata?

                        1 Reply Last reply Reply Quote 1
                        • BRRABillB
                          BRRABill @DustinB3403
                          last edited by

                          @DustinB3403 said in xenserver error fsck:

                          I do get a prompt of where to backup too, but local storage is the only option.

                          Oh yeah, me too. I just renamed mine. Duh. (Duh on me.)

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

                            I dont even think I can migrate the VM's off.

                            DanpD DashrenderD 2 Replies Last reply Reply Quote 0
                            • DanpD
                              Danp @DustinB3403
                              last edited by

                              @DustinB3403 said in xenserver error fsck:

                              I dont even think I can migrate the VM's off.

                              Probably not if the boot device isn't writable. 😞

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

                                @Danp said in xenserver error fsck:

                                @DustinB3403 said in xenserver error fsck:

                                I dont even think I can migrate the VM's off.

                                Probably not if the boot device isn't writable. 😞

                                gotta fix that issue.... some how...

                                1 Reply Last reply Reply Quote 0
                                • travisdh1T
                                  travisdh1
                                  last edited by

                                  Hrm, maybe try remounting root? I think this should do it:

                                  mount -o remount,rw /
                                  
                                  DustinB3403D 1 Reply Last reply Reply Quote 1
                                  • DustinB3403D
                                    DustinB3403 @travisdh1
                                    last edited by

                                    @travisdh1 said in xenserver error fsck:

                                    Hrm, maybe try remounting root? I think this should do it:

                                    mount -o remount,rw /
                                    

                                    /devb/sdb1 read-write is write-protected.

                                    So how do I remove that?

                                    travisdh1T 1 Reply Last reply Reply Quote 0
                                    • travisdh1T
                                      travisdh1 @DustinB3403
                                      last edited by

                                      @DustinB3403 said in xenserver error fsck:

                                      @travisdh1 said in xenserver error fsck:

                                      Hrm, maybe try remounting root? I think this should do it:

                                      mount -o remount,rw /
                                      

                                      /devb/sdb1 read-write is write-protected.

                                      So how do I remove that?

                                      If it's write protected to the point that it won't remount in read/write mode (what you have here), it's time to assume the storage is not recoverable.

                                      The good news (if such a thing exists in this situation), is that restoring from XO backups is quite quick. This is what I got to deal with 3 weeks ago. XS Root drive went into a read only state, and was stuck that way even between reboots. Replaced the root drive and imported the XO backups... I used XenCenter to import the XO image itself, and then used XO to import the other backups.

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

                                        @travisdh1 said in xenserver error fsck:

                                        @DustinB3403 said in xenserver error fsck:

                                        @travisdh1 said in xenserver error fsck:

                                        Hrm, maybe try remounting root? I think this should do it:

                                        mount -o remount,rw /
                                        

                                        /devb/sdb1 read-write is write-protected.

                                        So how do I remove that?

                                        If it's write protected to the point that it won't remount in read/write mode (what you have here), it's time to assume the storage is not recoverable.

                                        The good news (if such a thing exists in this situation), is that restoring from XO backups is quite quick. This is what I got to deal with 3 weeks ago. XS Root drive went into a read only state, and was stuck that way even between reboots. Replaced the root drive and imported the XO backups... I used XenCenter to import the XO image itself, and then used XO to import the other backups.

                                        We've got dc's on this host...... which means I have to do a SPX restore (since XO) isn't backing up.

                                        travisdh1T 1 Reply Last reply Reply Quote 0
                                        • travisdh1T
                                          travisdh1 @DustinB3403
                                          last edited by

                                          @DustinB3403 said in xenserver error fsck:

                                          @travisdh1 said in xenserver error fsck:

                                          @DustinB3403 said in xenserver error fsck:

                                          @travisdh1 said in xenserver error fsck:

                                          Hrm, maybe try remounting root? I think this should do it:

                                          mount -o remount,rw /
                                          

                                          /devb/sdb1 read-write is write-protected.

                                          So how do I remove that?

                                          If it's write protected to the point that it won't remount in read/write mode (what you have here), it's time to assume the storage is not recoverable.

                                          The good news (if such a thing exists in this situation), is that restoring from XO backups is quite quick. This is what I got to deal with 3 weeks ago. XS Root drive went into a read only state, and was stuck that way even between reboots. Replaced the root drive and imported the XO backups... I used XenCenter to import the XO image itself, and then used XO to import the other backups.

                                          We've got dc's on this host...... which means I have to do a SPX restore (since XO) isn't backing up.

                                          😞

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

                                            And a f***ing massive file server.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 2 / 7
                                            • First post
                                              Last post