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

    XenServer/Linux Partition/Disk Help

    IT Discussion
    3
    8
    618
    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.
    • BRRABillB
      BRRABill
      last edited by

      I had planned to really jump into some Linux learning here in 2016. I've spent my whole life in Windows.

      I can do the basics now, but things like disks and partitions still seems to get to me.

      I have a few things I am trying to do in the filesystem, and could use some guidance.

      First of all, I would like to remap /var/log from the USB boot device (/dev/sdc) to another partition.

      Currently, I have the USB stick, and my RAID array. I'd like to figure out if XS used all the space on the array, or if I could put it there.

      This is my listing of fdisk -l .... the issue is, I can't figure out where the array is the is storing all the VDIs. I know it is the /dev/mapper one, but I do not understand that syntax.

      
      [root@xenserver-MAIN rsyslog.d]# df -h
      Filesystem                                                                                                 Size  Used Avail Use% Mounted on
      /dev/sdc1                                                                                                   18G  1.8G   16G  11% /
      devtmpfs                                                                                                   952M   48K  952M   1% /dev
      tmpfs                                                                                                      962M  400K  962M   1% /dev/shm
      tmpfs                                                                                                      962M  1.5M  961M   1% /run
      tmpfs                                                                                                      962M     0  962M   0% /sys/fs/cgroup
      xenstore                                                                                                   962M     0  962M   0% /var/lib/xenstored
      /dev/loop0                                                                                                  55M   55M     0 100% /var/xen/xc-install
      /dev/sdc5                                                                                                  4.0G  349M  3.4G  10% /var/log
      /dev/mapper/XSLocalEXT--da71e8e4--27b9--f51d--3390--93793b0a2bfd-da71e8e4--27b9--f51d--3390--93793b0a2bfd  1.8T  373G  1.3T  23% /run/sr-mount/da71e8e4-27b9-f51d-3390-93793b0a2bfd
      tmpfs                                                                                                      193M     0  193M   0% /run/user/0
      //10.0.4.23/testshare                                                                                      196G   18G  168G  10% /run/sr-mount/ba878fcf-0001-7c32-eb10-5aa52cdd7c5d
      
      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @BRRABill
        last edited by

        @BRRABill said in XenServer/Linux Partition/Disk Help:

        I had planned to really jump into some Linux learning here in 2016. I've spent my whole life in Windows.

        I can do the basics now, but things like disks and partitions still seems to get to me.

        Basically it is identical to Windows minus the unnecessarily complex and confusing drive letter names. Most everything works exactly the same.

        BRRABillB 1 Reply Last reply Reply Quote 0
        • A
          Alex Sage
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • BRRABillB
            BRRABill @scottalanmiller
            last edited by

            @scottalanmiller said

            Basically it is identical to Windows minus the unnecessarily complex and confusing drive letter names. Most everything works exactly the same.

            Yeah, once you know it.

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

              Look in /etc/fstab and you'll see where the mount details are coming from. Pretty sure that your RAID array just has LVM on it.

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

                @BRRABill said in XenServer/Linux Partition/Disk Help:

                @scottalanmiller said

                Basically it is identical to Windows minus the unnecessarily complex and confusing drive letter names. Most everything works exactly the same.

                Yeah, once you know it.

                If you know it from Windows, it all just tags along.

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

                  CD into the SR and see what is there...

                  cd /run/sr-mount/da71e8e4-27b9-f51d-3390-93793b0a2bfd
                  
                  1 Reply Last reply Reply Quote 0
                  • BRRABillB
                    BRRABill @scottalanmiller
                    last edited by

                    @scottalanmiller said

                    Look in /etc/fstab and you'll see where the mount details are coming from. Pretty sure that your RAID array just has LVM on it.

                    LABEL=root-zefrgy    /         ext3     defaults   1  1
                    
                    LABEL=swap-zefrgy          swap      swap   defaults   0  0
                    
                    LABEL=logs-zefrgy    /var/log         ext3     defaults   0  2
                    /opt/xensource/packages/iso/XenCenter.iso   /var/xen/xc-install   iso9660   loop,ro   0  0
                    
                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post