LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > ChromeOS
User Name
Password
ChromeOS This forum is for the discussion of ChromeOS.

Notices


Reply
  Search this Thread
Old 05-27-2024, 03:31 PM   #1
derezion
Member
 
Registered: Aug 2018
Distribution: Anything Debian-based
Posts: 99

Rep: Reputation: Disabled
Exclamation PCManFM seems to give me wrong folder properties (size of root)


I looked up the Folder properties in PCManFM of my root on Crostini (Debian 12 "bookworm" environment on ChromeOS), and it says:
Total size of files: 256.0 TiB
Size on disk: 3.4 GiB

The second number seems reasonable since my Chromebook has a 32 GB eMMC for storage and I gave 10 GB to Debian, but I can't explain the first number.

I don't even know what is meant by TiB. If PCManFM, my file manager for the Linux environment on my Chromebook, means 256 terabytes that doesn't make sense. If it means 256 tebibytes or something that might be 32 gigs according to my calculation, but that doesn't make sense either because I only gave Linux 10 gigs.

Last edited by derezion; 05-27-2024 at 03:41 PM. Reason: Minor grammar edit
 
Old 05-27-2024, 09:15 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,163
Blog Entries: 21

Rep: Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485
What does

Code:
df -h
say?
 
1 members found this post helpful.
Old 05-28-2024, 09:26 AM   #3
derezion
Member
 
Registered: Aug 2018
Distribution: Anything Debian-based
Posts: 99

Original Poster
Rep: Reputation: Disabled
It says:
Code:
Filesystem      Size  Used Avail Use% Mounted on
/dev/vdb         10G  4.8G  5.0G  49% /
none            492K  4.0K  488K   1% /dev
/dev/vdb         10G  4.8G  5.0G  49% /dev/kvm
tmpfs           100K     0  100K   0% /dev/lxd
run             1.4G   24K  1.4G   1% /dev/.cros_milestone
9p              1.9G  1.5M  1.9G   1% /mnt/chromeos
tmpfs           1.4G     0  1.4G   0% /mnt/external
/dev/vda         65M   65M     0 100% /opt/google/cros-containers
fonts           2.0G  1.9G  126M  94% /usr/share/fonts/chromeos
tmpfs           100K     0  100K   0% /dev/.lxd-mounts
devtmpfs        1.4G     0  1.4G   0% /dev/tty
tmpfs           1.4G   52M  1.3G   4% /dev/shm
tmpfs           553M  176K  553M   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup
tmpfs           277M   48K  277M   1% /run/user/1000
 
Old 06-06-2024, 11:36 AM   #4
derezion
Member
 
Registered: Aug 2018
Distribution: Anything Debian-based
Posts: 99

Original Poster
Rep: Reputation: Disabled
I have no clue how to use smartctl

Using smartctl was a suggestion I got in a previous thread. I downloaded GSmartControl (apparently the GUI frontend for smartctl), but it won't launch.

Running
Code:
smartctl -help
was suggested if "wondering if hard drive drive specs were hacked." The command was not found when I tried it, but I do have it installed (I ran whereis smartctl and there's a man page on my system too). I'm in the process of reading the man page, but usually when using a piece of software depends on that I give up.

Last edited by derezion; 06-06-2024 at 11:47 AM. Reason: Added further details on smartctl
 
Old 06-06-2024, 05:36 PM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,163
Blog Entries: 21

Rep: Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485
Code:
harry@shop:~

$ sudo   smartctl --all /dev/sda 
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.60-antix.1-amd64-smp] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Marvell based SanDisk SSDs
Device Model:     SanDisk SD8SB8U128G1122
Serial Number:    163002802623
LU WWN Device Id: 5 001b44 8b443d1b6
Firmware Version: X4140000
User Capacity:    128,035,676,160 bytes [128 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available, deterministic, zeroed
Device is:        In smartctl database 7.3/5319
ATA Version is:   ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Jun  6 17:28:07 2024 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(    0) seconds.
Offline data collection
capabilities: 			 (0x11) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					No Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  10) minutes.

SMART Attributes Data Structure revision number: 4
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0032   100   100   ---    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   ---    Old_age   Always       -       6356
 12 Power_Cycle_Count       0x0032   100   100   ---    Old_age   Always       -       1335
165 Total_Write/Erase_Count 0x0032   100   100   ---    Old_age   Always       -       17190355071
166 Min_W/E_Cycle           0x0032   100   100   ---    Old_age   Always       -       2
167 Min_Bad_Block/Die       0x0032   100   100   ---    Old_age   Always       -       31
168 Maximum_Erase_Cycle     0x0032   100   100   ---    Old_age   Always       -       3
169 Total_Bad_Block         0x0032   100   100   ---    Old_age   Always       -       189
170 Unknown_Marvell_Attr    0x0032   100   100   ---    Old_age   Always       -       0
171 Program_Fail_Count      0x0032   100   100   ---    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   ---    Old_age   Always       -       0
173 Avg_Write/Erase_Count   0x0032   100   100   ---    Old_age   Always       -       2
174 Unexpect_Power_Loss_Ct  0x0032   100   100   ---    Old_age   Always       -       702
184 End-to-End_Error        0x0032   100   100   ---    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   ---    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   ---    Old_age   Always       -       371
194 Temperature_Celsius     0x0022   063   060   ---    Old_age   Always       -       37 (Min/Max 16/60)
199 SATA_CRC_Error          0x0032   100   100   ---    Old_age   Always       -       0
230 Perc_Write/Erase_Count  0x0032   100   100   ---    Old_age   Always       -       36 28 36
232 Perc_Avail_Resrvd_Space 0x0033   100   100   004    Pre-fail  Always       -       100
233 Total_NAND_Writes_GiB   0x0032   100   100   ---    Old_age   Always       -       187
234 Perc_Write/Erase_Ct_BC  0x0032   100   100   ---    Old_age   Always       -       536
241 Total_Writes_GiB        0x0030   253   253   ---    Old_age   Offline      -       412
242 Total_Reads_GiB         0x0030   253   253   ---    Old_age   Offline      -       1139
244 Thermal_Throttle        0x0032   000   100   ---    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      5195         -

Selective Self-tests/Logging not supported

harry@shop:~
This is a old ssd drive in my motorcycle shop computer. Just to give you a example. Your drive may not be recognized as /dev/sda

Code:
harry@shop:~
$ blkid
/dev/sda2: UUID="cb4f2b16-b88c-48ff-9fcd-5890fec48e6a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="2e26fa5e-b4db-47fe-b984-e18a7e35f5b5"
/dev/sda1: LABEL="rootantiX23" UUID="23369381-7bfd-41c7-a804-ef2fd5ca8f89" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="5affe66f-6846-4a17-865c-2b70f083ce98"
or

Code:
sudo fdisk -l

Device         Start       End   Sectors  Size Type
/dev/sda1       2048 122882047 122880000 58.6G Linux filesy
/dev/sda2  122882048 250068991 127186944 60.6G Linux filesy
harry@shop:~
is how Tell how /dev is labeled as. Some drive are labeled approx. /dev/mmxxx something or another.
 
1 members found this post helpful.
Old 06-06-2024, 07:32 PM   #6
derezion
Member
 
Registered: Aug 2018
Distribution: Anything Debian-based
Posts: 99

Original Poster
Rep: Reputation: Disabled
Thank you for your help. When I issue:
Code:
~$ blkid
I get:
Code:
-bash: blkid: command not found
When I try:
Code:
$ sudo fdisk -l
There's no output.
... same thing for
Code:
$ sudo blkid
I'm not sure if any of this has to do with ChromeOS. For now, I'll try to run these commands on another computer to see if they work there.

Last edited by derezion; 06-06-2024 at 07:34 PM. Reason: Details about ChromeOS and another computer.
 
Old 06-14-2024, 01:01 PM   #7
derezion
Member
 
Registered: Aug 2018
Distribution: Anything Debian-based
Posts: 99

Original Poster
Rep: Reputation: Disabled
I tried the commands using a Bodhi Linux live session on my MacBook. The command blkid worked and so did sudo fdisk -l. I was not able to install smartctl in that session. Bodhi Linux reported something to me about the package could not be found. I say all this because I think the way those commands aren't working for me on Crostini could have to do with ChromeOS. For those who haven't noticed, it's a little different. I noticed there's no sudo password. Commands using sudo just work. I also noticed that while ufw (Uncomplicated Firewall) seems to be installed (I issued whereis ufw and got a result), I can't enable it using sudo ufw enable.
 
Old 06-24-2024, 05:39 PM   #8
derezion
Member
 
Registered: Aug 2018
Distribution: Anything Debian-based
Posts: 99

Original Poster
Rep: Reputation: Disabled
I tried another file manager called nautilus to get folder properties on root. Here's what the output of selecting all folders on root (/) and right clicking and selecting folder properties was:
nautilus - root
135,958 items, totalling 140.8 TB
(some contents unreadable)

Last edited by derezion; 06-24-2024 at 05:43 PM. Reason: Added details about selecting all folders
 
Old Yesterday, 08:12 AM   #9
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,163
Blog Entries: 21

Rep: Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485Reputation: 3485
mc file manager requires no clicking and is light on resources. Thunar is OK if it comes pre-configured like
like in MX linux.

https://pixhost.to/show/637/481216970_hot.jpg
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem with pcmanfm after fresh installation keeping old home folder philkrem Debian 2 03-13-2021 05:35 PM
Gvim and Latex: PCManfm does not produce pdf in right folder. rng Linux - General 0 07-20-2017 07:44 PM
[SOLVED] PCManFM isn't showing folder icons. folatt Linux - Newbie 1 12-25-2016 08:18 PM
pcmanfm-mod cannot open current directory as root (button doesn' work) ted_chou12 Linux - Software 0 08-30-2012 10:48 AM

LinuxQuestions.org > Forums > Other *NIX Forums > ChromeOS

All times are GMT -5. The time now is 02:15 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