Greetings !!
I assume I did an error to install my 13.2 openSuSE with btrfs filesystem on root directory…
For now I need advices concerning the situation I’m in and the “solutions” I consider.
Situation:
I have a ssd drive used by grub in dualboot with Windows 7 (I know, nobody is perfect, I need Windows for doing music)
The grub is located in /dev/sda1 on the 120Go ssd drive.
I have more than 30 Go for the root filesystem ‘/’… I was thinking it was enough… but I was wrong :{
I want to use a new 240 Go ssd drive /dev/sdc to “extend” the original root filesystem… but I have some questions and fears.
When I saw that the root filesystem hat 85% of disk space I went to /root directory to move all the personnal datas on another partition…
But df -h nore btrfs fi df -h / indicated any change → there were more than 4 Go of data moved, I had supposed that I would drop from
6.2 Go of free disk space to 15Go at least… but it wasn’t the case…
What is wrong with my conception on “moving datas from a partition to another” ?
I have no sufficient knowledge of the btrfs filesystem and I’m starting slowly to ask myself to find a solution to switch my system back to ext4.
But for now, I’m in a hurry so I have to find a way to avoid the system to crash as the “episode” when btrfs snapshots took the whole partition and messed up my beautiful 13.2 system.
I configured snapper like this:
# subvolume to snapshot
SUBVOLUME="/"
# filesystem type
FSTYPE="btrfs"
# users and groups allowed to work with config
ALLOW_USERS=""
ALLOW_GROUPS=""
# sync users and groups from ALLOW_USERS and ALLOW_GROUPS to .snapshots
# directory
SYNC_ACL="no"
# start comparing pre- and post-snapshot in background after creating
# post-snapshot
BACKGROUND_COMPARISON="yes"
# run daily number cleanup
NUMBER_CLEANUP="yes"
# limit for number cleanup
NUMBER_MIN_AGE="1800"
NUMBER_LIMIT="1"
NUMBER_LIMIT_IMPORTANT="2"
# create hourly snapshots
TIMELINE_CREATE="no"
# cleanup hourly snapshots after some time
TIMELINE_CLEANUP="yes"
# limits for timeline cleanup
TIMELINE_MIN_AGE="1800"
TIMELINE_LIMIT_HOURLY="2"
TIMELINE_LIMIT_DAILY="15"
TIMELINE_LIMIT_MONTHLY="2"
TIMELINE_LIMIT_YEARLY="1"
# cleanup empty pre-post-pairs
EMPTY_PRE_POST_CLEANUP="yes"
# limits for empty pre-post-pair cleanup
EMPTY_PRE_POST_MIN_AGE="1800"
The main idea, but I don’t know if is it a good idea, is to:
- clone the “/” directory to the 240 Go ssd using the btrfs utilities that seems to feature such operations, I flew over some tutorials but don’t want to try if not accurate in this context.
- use the original 40 Go ssd partition to link it with **/root.
The underlaying questions **are:
Is that a good idea ?
Results of fdisk -l command
http://paste.opensuse.org/70205041
View of the** gparted**application
http://paste.opensuse.org/75206360
Thank you for your patience and enlightments…