LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-08-2013, 04:48 PM   #1
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
14.1 quick format with btrfs


Hi all,

First of all, thank you Pat and the crew for the new release.

Not sure if I've missed something somewhere but when I install 64 14.1 (torrent download) choosing Quick format and then btrfs, it doesn't actually format the partition. It quickly proceeds and all the files install but the old files from the previous installation are still there.

What have I missed?

Edit: It does the same with Slow format and btrfs.

Last edited by sycamorex; 11-08-2013 at 04:55 PM.
 
Old 11-09-2013, 09:44 AM   #2
lopuh
LQ Newbie
 
Registered: Oct 2012
Posts: 14

Rep: Reputation: Disabled
Slackware Linux Help
Quote:
When you log into the install
disk, there are four consoles. To switch among them, use Alt-F1,
Alt-F2, Alt-F3, or Alt-F4 to select which of the four consoles you
wish to use.
Quote:
On the install disk, the first three consoles are login consoles.
The fourth console is used to show informational messages during
installation, such as disk formatting status, kernel messages, and
so on.
 
Old 11-09-2013, 12:55 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
IIRC, by default btrfs does not "delete" anything, it just hard links the file you try to delete into the recovery tree and creates a new file. (Actually, this is done at the inode level, not the file level.) That's why it's called a "copy-on-write" file system.

Anyhow, formatting (or reformatting) a btrfs will not actually erase the "old" files unless you use the administrative tools to do so. (Which you need to do fairly frequently unless your btrfs spans a large drive, and your "active files" are only a small part of the drive.)

Note: I stopped using btrfs when a 2Tb drive, formatted as btrfs, reported that it was "full," but df reported only 200Gb in use on the drive. (This was at least a year ago, and things may be better now, but I decided that frequent backup was all I needed for a simple, one user, home system.)
 
Old 11-09-2013, 04:32 PM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
BtrFS is generally recommended anymore from my knowledge only for user accounts due to how Copy-On-Write works.

You should be using something like EXT3/4, JFS, or ReiserFS for your root file system, EXT2 for /boot, and a different partition like BtrFS for your /home/(user accounts) for redundancy and backup capability purposes.

I think ZFS allows for deletion of files without administrator access after a certain time frame has passed, but ZFS is not included by default for any Linux distribution due to licensing.

Last edited by ReaperX7; 11-09-2013 at 04:33 PM.
 
Old 11-10-2013, 09:14 AM   #5
jtsn
Member
 
Registered: Sep 2011
Posts: 925

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Btrfs will not be production-ready until Slackware 16 I think.
 
Old 11-10-2013, 02:37 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
BtrFS unfortunately as jtsn said, is still in the testing/experimental stages. It's really not ready for mainstream usage. Actually few doubt it will ever be ready, and that work needs to be done to get ZFS license compatible with GPL.

Oracle has been working on it as a replacement for ZFS which is now under the Illumos Foundation's control, but ZFS is still far superior, however even still at this time, ZFSOnLinux, which has been porting ZFS to Linux, is still licensed under the CDDL, which as mentioned previously, isn't GPL compatible so no distributions can include it by default, and plus I think the code is in need of an update to work with the recent 3.x series of kernels.

Your best bet would be to use JFS, EXT4, or ReiserFS at this time.

I have used this broken down partition method as one of mine in recent times.

EXT2 - /boot
EXT4 - /(root)
JFS - /home

However, mostly I stick to a single EXT4 /(root) partition for all files.

Last edited by ReaperX7; 11-10-2013 at 02:41 PM.
 
Old 11-10-2013, 07:20 PM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836

Original Poster
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Thank you. That's what I thought: PEBKAC

I went with ext4 anyway. Initially I just wanted to try btrfs. I read about ZFS and it does sound really interesting. It's a pity it can't (yet) be included with Linux by default.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Rollback To A Working State With btrfs + apt-btrfs-snapshot On Ubuntu 12.10 LXer Syndicated Linux News 0 11-25-2012 10:42 AM
Quick format a hard drive? saudoi Solaris / OpenSolaris 5 10-29-2006 11:56 AM
Quick String Format Question (EASY) Mistro116@yahoo.com Programming 1 11-27-2005 02:09 PM
repartition and/or format. is there a quick way? Dasc Debian 1 11-14-2005 07:59 PM
Quick...Someone Tell Me How To Open a Tar File in .tgz format njschroe Linux - Software 3 06-10-2005 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:09 PM.

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