LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-25-2017, 02:55 PM   #1
mikenash
Member
 
Registered: Dec 2014
Posts: 84

Rep: Reputation: Disabled
SLES 12 Unable to IPL the system after resizing "/" btrfs filesystem


I have a z/linux SLES12 system built with the btrfs file system.
I successfully add and resize the file system.
When I reboot the system I hit an endless loop on the system with a "start job".
Code:
btrfs device add /dev/dasda /
btrfs filesystem resize max /

A start job is running for dev-disk-by\x2duuid-b2732... 5s
I am able to do this with a system built with the xfs file system.
I am thinking that maybe the device needs to be added to the kernel!?
 
Old 01-30-2017, 08:47 AM   #2
mikenash
Member
 
Registered: Dec 2014
Posts: 84

Original Poster
Rep: Reputation: Disabled
I have found two methods that work for resizing the btrfs "/" filesystem.
The two methods are to update /etc/fstab or update the kernel and then update grub2.
I have a couple of questions.
1 - When I extend a xfs filesystem I do not need to update the kernel or /etc/fstab.
why is this needed for btrfs?
2 - When I update the kernel I had to specify both disks.
The IPL volume and the dasd the I use to extend the filesystem.
I thought it odd that I had to specify the IPL volume.
Is there a reason for this? The 3120 address is the IPL volume.
Note: this is probably true for updating /etc/fstab but I did not try this variation.

Code:
Method 1: Update /etc/fstab
cio_ignore -r 0.0.0604
chccwdev -e 0.0.0604
lsdasd - check dasd location
dasdfmt -b 4096 -f /dev/dasdb -p -y
fdasd -sa /dev/dasdb
Yast - make device persistent
reboot
btrfs device add /dev/dasda1 /
btrfs filesystem resize max /
Update /etc/fstab
UUID=b273239f-1943-4607-ad44-2e007624ee1b /   btrfs      device=/dev/dasda1,device=/dev/dasdb3 0 0
grub2-install

Method 2: Update the kernel.
cio_ignore -r 0.0.0604
chccwdev -e 0.0.0604
lsdasd - check dasd location
dasdfmt -b 4096 -f /dev/dasdb -p -y
fdasd -sa /dev/dasdb
Yast - make device persistent
reboot
btrfs device add /dev/dasda1 /
btrfs filesystem resize max /
Yast update kernel parameters - !0.0.0604,!0.0.3120 and dasd=0604,3120
grub2-install
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How could a computer technician use the "top" command with "ps" and "kill" to investigate how a system is misbehaving? geckono1 Linux - Newbie 13 07-03-2016 07:51 AM
[SOLVED] Cannot mount remote filesystem. Error "Unable to find suitable address" alankenyon55 Linux - Newbie 12 12-02-2014 11:47 PM
[SOLVED] "net rpc" "failed to connect to ipc$ share on" or "unable to find a suitable server" larieu Linux - General 0 11-09-2014 12:45 AM
Remote Telnet as "root" into SLES 10 system xunil321 Linux - Software 13 02-05-2008 12:39 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration