Frank,

   Up to this point, I've not seen this used ... So, I recommend a "test"
system until you are comfortable and a backup of your "/". But, on a lab
Guest,  I find:

Using Btrfs with Multiple Devices
https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices

# mkfs.btrfs /dev/dasdc1
# mount /dev/dasdc1 /mnt
# mkfs.btrfs /dev/dasdd1

# df | head -1; df | grep mnt
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/dasdc1      7212144   16704   6462208   1% /mnt

# btrfs device add -f /dev/dasdd1 /mnt

s390sles12:~ # df | head -1; df | grep mnt
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/dasdc1     14424288   16704  13673280   1% /mnt

Mike O'Reilly
IBM Linux Change Team

                                                                       
                                                                       
                                                                       
                                                                       
                                                                       





                                                                       
             "Frank M.                                                 
             Ramaekers"                                                
             <FRamaekers@ailif                                          To
             e.com>                    LINUX-390@VM.MARIST.EDU         
             Sent by: Linux on                                          cc
             390 Port                                                  
             <linux-...@vm.mar                                     Subject
             IST.EDU>                  Adding DASD to a btrfs          
                                                                       
                                                                       
             08/13/2015 07:08                                          
             AM                                                        
                                                                       
                                                                       
             Please respond to                                         
             Linux on 390 Port                                         
             <linux-...@vm.mar                                         
                 IST.EDU>                                              
                                                                       
                                                                       




I'm new to both SLES (12 in my case) and btrfs.   I just recently
installed SLES 12 onto a 3390-9 (I had an additional 3390-9, but didn't
see a way to combine the two into a single fs).  I want to add the other
3390-9 to the btrfs (/) for expansion purposes.



lsdasd

Bus-ID     Status      Name      Device  Type  BlkSz  Size      Blocks

========================================================================
======

0.0.0301   active      dasda     94:0    FBA   512    512MB     1048576

0.0.0300   active      dasdb     94:4    FBA   512    256MB     524288

0.0.0100   active      dasdc     94:8    ECKD  4096   7042MB    1802880

0.0.0101   active      dasdd     94:12   ECKD  4096   7042MB    1802880



Number  Start   End     Size    File system  Flags

1      98.3kB  210MB   210MB   ext2

2      210MB   7385MB  7175MB  btrfs



Filesystem      Size  Used Avail Use% Mounted on

/dev/dasdc2     6.7G  3.6G  2.9G  56% /

devtmpfs        313M  4.0K  313M   1% /dev

tmpfs           320M   20K  320M   1% /dev/shm

tmpfs           320M  5.5M  315M   2% /run

tmpfs           320M     0  320M   0% /sys/fs/cgroup

/dev/dasdc2     6.7G  3.6G  2.9G  56% /var/tmp

/dev/dasdc2     6.7G  3.6G  2.9G  56% /var/opt

/dev/dasdc2     6.7G  3.6G  2.9G  56% /var/log

/dev/dasdc2     6.7G  3.6G  2.9G  56% /var/spool

/dev/dasdc2     6.7G  3.6G  2.9G  56% /var/lib/pgsql

/dev/dasdc2     6.7G  3.6G  2.9G  56% /var/lib/mailman

/dev/dasdc1     194M   24M  161M  13% /boot/zipl

/dev/dasdc2     6.7G  3.6G  2.9G  56% /var/lib/named

/dev/dasdc2     6.7G  3.6G  2.9G  56% /usr/local

/dev/dasdc2     6.7G  3.6G  2.9G  56% /var/crash

/dev/dasdc2     6.7G  3.6G  2.9G  56% /srv

/dev/dasdc2     6.7G  3.6G  2.9G  56% /tmp

/dev/dasdc2     6.7G  3.6G  2.9G  56% /opt

/dev/dasdc2     6.7G  3.6G  2.9G  56% /home

/dev/dasdc2     6.7G  3.6G  2.9G  56% /boot/grub2/s390x-emu



TIA,

Frank M. Ramaekers Jr. | Systems Programmer | Information Technology |
American Income Life Insurance | 254-761-6649




----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/



----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to