LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-11-2019, 03:31 PM   #1
Tem2
Member
 
Registered: Dec 2011
Posts: 67

Rep: Reputation: Disabled
Copying a large file to usb crashes my system.


PROBLEM SOLVED USING MC (MIDNIGHT COMMANDER)


Here are some of my specs:

output is from the following commands:
df -hT
cat /proc/sys/vm/dirty_ratio
cat /proc/sys/vm/dirty_background_ratio
cat /proc/sys/vm/dirty_bytes
cat /proc/sys/vm/dirty_background_bytes
uname -a
lscpu
cat /proc/meminfo
lsb_release -a
sudo dmidecode


master@master-Latitude-D630:~$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 404M 6.4M 397M 2% /run
/dev/sda1 ext4 91G 54G 33G 62% /
tmpfs tmpfs 2.0G 63M 2.0G 4% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs tmpfs 404M 36K 404M 1% /run/user/1000

master@master-Latitude-D630:~$ cat /proc/sys/vm/dirty_ratio
0

master@master-Latitude-D630:~$ cat /proc/sys/vm/dirty_background_ratio
0

master@master-Latitude-D630:~$ cat /proc/sys/vm/dirty_bytes
50331648

master@master-Latitude-D630:~$ cat /proc/sys/vm/dirty_background_bytes
16777216

master@master-Latitude-D630:~$ uname -a
Linux master-Latitude-D630 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:26:51 UTC 2018 i686 i686 i686 GNU/Linux
master@master-Latitude-D630:~$ lscpu
Architecture: i686
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 15
Model name: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Stepping: 10
CPU MHz: 2001.000
CPU max MHz: 2001.0000
CPU min MHz: 800.0000
BogoMIPS: 3988.74
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm retpoline rsb_ctxsw tpr_shadow vnmi flexpriority dtherm ida

master@master-Latitude-D630:~$ cat /proc/meminfo
MemTotal: 4128108 kB
MemFree: 2068852 kB
MemAvailable: 2412052 kB
Buffers: 69112 kB
Cached: 827480 kB
SwapCached: 0 kB
Active: 1277364 kB
Inactive: 681060 kB
Active(anon): 1063512 kB
Inactive(anon): 221924 kB
Active(file): 213852 kB
Inactive(file): 459136 kB
Unevictable: 32 kB
Mlocked: 32 kB
HighTotal: 3275120 kB
HighFree: 1506012 kB
LowTotal: 852988 kB
LowFree: 562840 kB
SwapTotal: 999420 kB
SwapFree: 999420 kB
Dirty: 120 kB
Writeback: 0 kB
AnonPages: 1061892 kB
Mapped: 372496 kB
Shmem: 223608 kB
Slab: 61016 kB
SReclaimable: 40596 kB
SUnreclaim: 20420 kB
KernelStack: 4368 kB
PageTables: 12664 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 3063472 kB
Committed_AS: 4327920 kB
VmallocTotal: 122880 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 12280 kB
DirectMap2M: 897024 kB

master@master-Latitude-D630:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial

master@master-Latitude-D630:~$ sudo dmidecode
[sudo] password for master:
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.4 present.
62 structures occupying 2889 bytes.
Table at 0x000F68E0.

Handle 0xDA00, DMI type 218, 251 bytes
OEM-specific Type
Header and Data:
DA FB 00 DA B2 00 0D 5F 1F 37 40 7D 00 00 00 00
00 7E 00 02 00 00 00 40 00 04 00 01 00 41 00 04
00 00 00 90 00 05 00 00 00 91 00 05 00 01 00 92
00 05 00 02 00 65 00 06 00 00 00 66 00 06 00 01
00 5E 00 07 00 01 00 5F 00 07 00 00 00 F1 00 08
00 00 00 F2 00 08 00 01 00 F3 00 08 00 02 00 0F
00 09 00 00 00 11 00 09 00 01 00 05 00 09 00 02
00 12 00 09 00 03 00 06 00 09 00 04 00 07 00 0A
00 00 00 0B 00 0A 00 01 00 0C 00 0A 00 02 00 0D
00 0A 00 03 00 89 01 0B 00 00 00 8A 01 0B 00 01
00 42 00 0C 00 01 00 43 00 0C 00 00 00 55 00 0D
00 00 00 6D 00 0D 00 01 00 16 02 0D 00 02 00 98
01 0D 00 03 00 0A 01 0E 00 01 00 0B 01 0E 00 00
00 2D 00 0F 00 02 00 27 01 0F 00 03 00 6E 00 0F
00 01 00 2E 00 0F 00 00 00 11 01 10 00 00 00 10
01 10 00 01 00 FF FF 00 00 00 00

Handle 0xDA01, DMI type 218, 251 bytes
OEM-specific Type
Header and Data:
DA FB 01 DA B2 00 0D 5F 1F 37 40 F0 00 11 00 01
00 ED 00 11 00 00 00 41 01 12 00 01 00 40 01 12
00 00 00 47 01 13 00 01 00 46 01 13 00 00 00 4A
01 14 00 00 00 4B 01 14 00 01 00 52 01 15 00 01
00 53 01 15 00 00 00 80 01 16 00 01 00 7F 01 16
00 00 00 7C 01 17 00 01 00 7B 01 17 00 00 00 7E
01 18 00 01 00 7D 01 18 00 00 00 92 01 19 00 00
00 91 01 19 00 01 00 94 01 1A 00 00 00 93 01 1A
00 01 00 86 01 1B 00 01 00 85 01 1B 00 00 00 82
01 1C 00 01 00 81 01 1C 00 00 00 84 01 1D 00 01
00 83 01 1D 00 00 00 9B 01 1E 00 00 00 9C 01 1E
00 01 00 9D 01 1E 00 02 00 9E 01 1E 00 03 00 8D
01 1F 00 00 00 8E 01 1F 00 01 00 EA 00 20 00 00
00 EB 00 20 00 01 00 EC 00 20 00 02 00 28 00 21
00 00 00 29 00 21 00 01 00 2A 00 21 00 02 00 2B
00 22 00 00 00 FF FF 00 00 00 00

Handle 0xDA02, DMI type 218, 251 bytes
OEM-specific Type
Header and Data:
DA FB 02 DA B2 00 0D 5F 1F 37 40 2C 00 23 00 00
00 E7 00 24 00 01 00 E6 00 24 00 00 00 0E 01 25
00 01 00 0F 01 25 00 00 00 9B 00 26 00 01 00 9C
00 26 00 00 00 87 00 27 00 01 00 88 00 27 00 00
00 4D 01 28 00 01 00 4C 01 28 00 00 00 51 01 29
00 00 00 50 01 29 00 01 00 87 01 2A 00 00 00 88
01 2A 00 01 00 37 01 2B 00 00 00 38 01 2B 00 01
00 D9 01 2C 00 01 00 D8 01 2C 00 00 00 C1 01 2D
00 00 00 C3 01 2D 00 01 00 C2 01 2D 00 02 00 DF
01 2E 00 01 00 DE 01 2E 00 00 00 EA 01 2F 00 00
00 EB 01 2F 00 01 00 EC 01 30 00 00 00 ED 01 30
00 01 00 00 02 31 00 00 00 01 02 31 00 01 00 45
01 45 01 01 00 44 01 44 01 00 00 00 80 00 80 01
00 00 A0 00 A0 01 00 05 80 05 80 01 00 76 01 76
01 01 00 75 01 75 01 01 00 25 03 25 03 01 00 E3
01 E3 01 00 00 FF FF 00 00 00 00

Handle 0xDA03, DMI type 218, 65 bytes
OEM-specific Type
Header and Data:
DA 41 03 DA B2 00 0D 5F 1F 37 40 E1 01 E1 01 01
00 E2 01 E2 01 02 00 4A 02 4A 02 01 00 0C 80 0C
80 01 00 01 F0 01 F0 00 00 02 F0 02 F0 00 00 03
F0 03 F0 00 00 04 F0 04 F0 00 00 FF FF 00 00 00
00

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Dell Inc.
Version: A19
Release Date: 06/04/2013
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 2048 kB
Characteristics:
ISA is supported
PCI is supported
PC Card (PCMCIA) is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
3.5"/720 kB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
AGP is supported
Smart battery is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
BIOS Revision: 1.9
Firmware Revision: 1.9

Handle 0x0100, DMI type 1, 27 bytes
System Information
Manufacturer: Dell Inc.
Product Name: Latitude D630
Version: Not Specified
Serial Number: JLLHRD1
UUID: 44454C4C-4C00-104C-8048-CAC04F524431
Wake-up Type: Power Switch
SKU Number: Not Specified
Family:

Handle 0x0200, DMI type 2, 9 bytes
Base Board Information
Manufacturer: Dell Inc.
Product Name:
Version:
Serial Number: .JLLHRD1. .
Asset Tag:

Handle 0x0300, DMI type 3, 13 bytes
Chassis Information
Manufacturer: Dell Inc.
Type: Portable
Lock: Not Present
Version: Not Specified
Serial Number: JLLHRD1
Asset Tag: Not Specified
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None

Handle 0x0301, DMI type 126, 13 bytes
Inactive

Handle 0x0400, DMI type 4, 40 bytes
Processor Information
Socket Designation: Microprocessor
Type: Central Processor
Family: Core 2 Duo
Manufacturer: Intel
ID: FA 06 00 00 FF FB EB BF
Signature: Type 0, Family 6, Model 15, Stepping 10
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Not Specified
Voltage: 3.3 V
External Clock: 200 MHz
Max Speed: 2000 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: 0x0700
L2 Cache Handle: 0x0701
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 2
Core Enabled: 2
Thread Count: 2
Characteristics:
64-bit capable

Handle 0x0700, DMI type 7, 19 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 32 kB
Maximum Size: 32 kB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: None
System Type: Data
Associativity: 4-way Set-associative

Handle 0x0701, DMI type 7, 19 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Varies With Memory Address
Location: Internal
Installed Size: 4096 kB
Maximum Size: 4096 kB
Supported SRAM Types:
Pipeline Burst
Installed SRAM Type: Pipeline Burst
Speed: 15 ns
Error Correction Type: None
System Type: Unified
Associativity: Other

Handle 0x0800, DMI type 126, 9 bytes
Inactive

Handle 0x0801, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: SERIAL1
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: DB-9 male
Port Type: Serial Port 16550A Compatible

Handle 0x0803, DMI type 126, 9 bytes
Inactive

Handle 0x0804, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: USB
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: Access Bus (USB)
Port Type: USB

Handle 0x0805, DMI type 126, 9 bytes
Inactive

Handle 0x0806, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: MONITOR
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: DB-15 female
Port Type: Video Port

Handle 0x0808, DMI type 126, 9 bytes
Inactive

Handle 0x080A, DMI type 126, 9 bytes
Inactive

Handle 0x080B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: FireWire
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: IEEE 1394
Port Type: Firewire (IEEE P1394)

Handle 0x080C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Modem
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: RJ-11
Port Type: Modem Port

Handle 0x080D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Ethernet
Internal Connector Type: None
External Reference Designator: Not Specified
External Connector Type: RJ-45
Port Type: Network Port

Handle 0x0900, DMI type 9, 13 bytes
System Slot Information
Designation: PCMCIA 0
Type: 32-bit PC Card (PCMCIA)
Current Usage: Available
Length: Other
ID: Adapter 0, Socket 0
Characteristics:
5.0 V is provided
3.3 V is provided
PC Card-16 is supported
Cardbus is supported
Zoom Video is supported
Modem ring resume is supported

Handle 0x0902, DMI type 126, 13 bytes
Inactive

Handle 0x0A00, DMI type 10, 6 bytes
On Board Device Information
Type: Video
Status: Enabled
Description: Intel Crestline Graphics

Handle 0x0A01, DMI type 10, 6 bytes
On Board Device Information
Type: Sound
Status: Enabled
Description: Sigmatel 9205

Handle 0x0B00, DMI type 11, 5 bytes
OEM Strings
String 1: Dell System
String 2: 5[0003]
String 3: 13[PP18L]

Handle 0x0D00, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Long
Installable Languages: 1
en|US|iso8859-1
Currently Installed Language: en|US|iso8859-1

Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 4 GB
Error Information Handle: Not Provided
Number Of Devices: 2

Handle 0x1100, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM_A
Bank Locator: Not Specified
Type: DDR
Type Detail: Synchronous
Speed: 667 MHz
Manufacturer: AD00000000000000
Serial Number: 535335A4
Asset Tag: 411014
Part Number: HYMP125S64CP8-S6

Handle 0x1101, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM_B
Bank Locator: Not Specified
Type: DDR
Type Detail: Synchronous
Speed: 667 MHz
Manufacturer: AD00000000000000
Serial Number: 53133EDB
Asset Tag: 411014
Part Number: HYMP125S64CP8-S6

Handle 0x1301, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000FFFFFFFF
Range Size: 4 GB
Physical Array Handle: 0x1000
Partition Width: 1

Handle 0x1401, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000FFFFFFFF
Range Size: 4 GB
Physical Device Handle: 0x1100
Memory Array Mapped Address Handle: 0x1301
Partition Row Position: 1
Interleave Position: 1
Interleaved Data Depth: 8

Handle 0x1411, DMI type 126, 19 bytes
Inactive

Handle 0x1402, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000FFFFFFFF
Range Size: 4 GB
Physical Device Handle: 0x1101
Memory Array Mapped Address Handle: 0x1301
Partition Row Position: 1
Interleave Position: 2
Interleaved Data Depth: 8

Handle 0x1412, DMI type 126, 19 bytes
Inactive

Handle 0x1500, DMI type 21, 7 bytes
Built-in Pointing Device
Type: Touch Pad
Interface: Bus Mouse
Buttons: 2

Handle 0x1600, DMI type 22, 26 bytes
Portable Battery
Location: Sys. Battery Bay
Manufacturer: GWw
Name: DELL 00
Design Capacity: 44000 mWh
Design Voltage: 11100 mV
SBDS Version: 1.0
Maximum Error: 1%
SBDS Serial Number: 17E4
SBDS Manufacture Date: 2016-12-16
SBDS Chemistry: LION
OEM-specific Information: 0x00000001

Handle 0x1601, DMI type 126, 26 bytes
Inactive

Handle 0x1602, DMI type 126, 26 bytes
Inactive

Handle 0x1B00, DMI type 27, 12 bytes
Cooling Device
Type: Fan
Status: OK
OEM-specific Information: 0x0000DD00

Handle 0x1C00, DMI type 28, 20 bytes
Temperature Probe
Description: CPU Internal Temperature
Location: Processor
Status: OK
Maximum Value: 127.0 deg C
Minimum Value: 0.0 deg C
Resolution: 1.000 deg C
Tolerance: 0.5 deg C
Accuracy: Unknown
OEM-specific Information: 0x0000DC00

Handle 0x2000, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected

Handle 0xB000, DMI type 176, 5 bytes
OEM-specific Type
Header and Data:
B0 05 00 B0 01

Handle 0xB100, DMI type 177, 12 bytes
OEM-specific Type
Header and Data:
B1 0C 00 B1 07 00 00 00 00 00 00 00

Handle 0xB200, DMI type 178, 6 bytes
OEM-specific Type
Header and Data:
B2 06 00 B2 99 99

Handle 0xD000, DMI type 208, 10 bytes
OEM-specific Type
Header and Data:
D0 0A 00 D0 01 04 FE 00 F9 01

Handle 0xD100, DMI type 126, 12 bytes
Inactive

Handle 0xD200, DMI type 210, 12 bytes
OEM-specific Type
Header and Data:
D2 0C 00 D2 F8 03 04 03 06 80 04 05

Handle 0xD800, DMI type 216, 9 bytes
OEM-specific Type
Header and Data:
D8 09 00 D8 01 03 01 F0 03
Strings:
Intel Corp.

1588


Handle 0xD900, DMI type 217, 8 bytes
OEM-specific Type
Header and Data:
D9 08 00 D9 01 02 01 03
Strings:
US-101
Proprietary

Handle 0xDB00, DMI type 219, 9 bytes
OEM-specific Type
Header and Data:
DB 09 00 DB 03 01 02 03 FF
Strings:
System Device Bay
Floppy, Battery, CD-ROM, CD-RW, DVD, DVD+RW, DVD+/-RW, Hard Disk, BLU-RAY
DVD

Handle 0xDB80, DMI type 126, 9 bytes
Inactive

Handle 0xDB81, DMI type 126, 9 bytes
Inactive

Handle 0x8100, DMI type 129, 8 bytes
OEM-specific Type
Header and Data:
81 08 00 81 01 01 02 01
Strings:
Intel_ASF
Dell_ASF_001

Handle 0xDC00, DMI type 220, 22 bytes
OEM-specific Type
Header and Data:
DC 16 00 DC 01 F0 00 00 02 F0 00 00 00 00 03 F0
04 F0 00 00 00 00

Handle 0xDD00, DMI type 221, 19 bytes
OEM-specific Type
Header and Data:
DD 13 00 DD 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00

Handle 0xD400, DMI type 212, 57 bytes
OEM-specific Type
Header and Data:
D4 39 00 D4 74 00 75 00 00 10 2D 2E 5C 00 78 BF
40 5D 00 78 BF 00 28 01 48 FE 01 29 01 48 FE 00
2D 01 1D EF 10 2E 01 1D EF 00 08 00 1D DF 00 03
00 1D DF 00 FF FF 00 00 00

Handle 0xD401, DMI type 212, 17 bytes
OEM-specific Type
Header and Data:
D4 11 01 D4 74 00 75 00 03 40 49 4A FF FF 00 00
00

Handle 0xDE00, DMI type 222, 16 bytes
OEM-specific Type
Header and Data:
DE 10 00 DE 01 02 FF FF 00 00 00 00 00 00 00 01

Handle 0x7F00, DMI type 127, 4 bytes
End Of Table

master@master-Latitude-D630:~$

Last edited by Tem2; 02-11-2019 at 07:56 PM. Reason: Problem solved, added solution to top of thread.
 
Old 02-11-2019, 04:47 PM   #2
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,111

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
How big is "large"

What kind of file are you trying to copy?

How are you trying to copy?

What is output from lsusb?

What filesystem is on USB?

Why doesn't any USB device show up in your df -hT output?
 
Old 02-11-2019, 04:54 PM   #3
Tem2
Member
 
Registered: Dec 2011
Posts: 67

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
How big is "large"

What kind of file are you trying to copy?

How are you trying to copy?

What is output from lsusb?

What filesystem is on USB?

Why doesn't any USB device show up in your df -hT output?
I'm trying to copy a 26gb Clonezilla image file.
I'm trying to copy with Copy and Paste.

master@master-Latitude-D630:~$ lsusb
Bus 002 Device 004: ID 0781:5575 SanDisk Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 004: ID 0483:2016 STMicroelectronics Fingerprint Reader
Bus 007 Device 003: ID 0b97:7772 O2 Micro, Inc. OZ776 CCID Smartcard Reader
Bus 007 Device 002: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I did not have the usb drive inserted when I issued the df -hT command.

master@master-Latitude-D630:~$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 404M 27M 377M 7% /run
/dev/sda1 ext4 91G 54G 33G 62% /
tmpfs tmpfs 2.0G 82M 1.9G 5% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs tmpfs 404M 40K 404M 1% /run/user/1000
/dev/sdb ext4 115G 2.2G 107G 2% /media/master/37e11092-192f-4e1a-bde0-2ac5ea808028
 
Old 02-11-2019, 06:44 PM   #4
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,111

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Immediately after mounting the stick, please show output from:
Code:
dmesg | tail -n30
sudo fdisk -l
lsblk
More details may be needed about how you are trying to copy. If using a file manager, which file manager, and is it doing the stick mounting automatically? IOW, are you mounting the stick before accessing the mount location to copy the file from? If mounting the USB stick manually, what is the command used? What might be happening is come kind of incompatibility between the stick's having an EXT4 filesystem on the whole stick instead of on a partition.

You might solve the copy failure by unmounting the stick, wiping the first sector of the stick, creating a partition on the stick to provide a home for an EXT4 filesystem, then formatting, then trying to copy. You can use gparted to in effect combine the first sector wipe and create a partition to format. If you can do this first then the additional info should not be needed, only just a report how it went for you.

Another option is trying a different file manager. MC is what I use for most copy and paste operations.

Also consider omitting a journal from the new stick format. Journaling accelerates wear on the device, which when used infrequently and for large files arguably gets less utility from a journal.
 
Old 02-11-2019, 07:03 PM   #5
Tem2
Member
 
Registered: Dec 2011
Posts: 67

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Immediately after mounting the stick, please show output from:
Code:
dmesg | tail -n30
sudo fdisk -l
lsblk
More details may be needed about how you are trying to copy. If using a file manager, which file manager, and is it doing the stick mounting automatically? IOW, are you mounting the stick before accessing the mount location to copy the file from? If mounting the USB stick manually, what is the command used? What might be happening is come kind of incompatibility between the stick's having an EXT4 filesystem on the whole stick instead of on a partition.

You might solve the copy failure by unmounting the stick, wiping the first sector of the stick, creating a partition on the stick to provide a home for an EXT4 filesystem, then formatting, then trying to copy. You can use gparted to in effect combine the first sector wipe and create a partition to format. If you can do this first then the additional info should not be needed, only just a report how it went for you.

Another option is trying a different file manager. MC is what I use for most copy and paste operations.

Also consider omitting a journal from the new stick format. Journaling accelerates wear on the device, which when used infrequently and for large files arguably gets less utility from a journal.
I'm using the default file manager that comes with my Ubuntu.
The usb mounts automatically and then I go to Files and copy and paste from my Desktop folder to the usb.
The copy functions for awhile but then the system hangs.
Will try your suggestion and post my results.
Thanks!

master@master-Latitude-D630:~$ dmesg | tail -n30
[13865.000261] wlp12s0: Limiting TX power to 27 (30 - 3) dBm as advertised by b0:93:5b:c4:1d:3d
[14039.928746] wlp12s0: deauthenticating from b0:93:5b:c4:1d:3d by local choice (Reason: 3=DEAUTH_LEAVING)
[14040.520838] IPv6: ADDRCONF(NETDEV_UP): enp9s0: link is not ready
[14040.535070] IPv6: ADDRCONF(NETDEV_UP): wlp12s0: link is not ready
[14040.805029] IPv6: ADDRCONF(NETDEV_UP): wlp12s0: link is not ready
[14045.192748] wlp12s0: authenticate with b0:93:5b:c4:1d:3d
[14045.198760] wlp12s0: send auth to b0:93:5b:c4:1d:3d (try 1/3)
[14045.199932] wlp12s0: authenticated
[14045.204091] wlp12s0: associate with b0:93:5b:c4:1d:3d (try 1/3)
[14045.206062] wlp12s0: RX AssocResp from b0:93:5b:c4:1d:3d (capab=0x1411 status=0 aid=1)
[14045.207166] wlp12s0: associated
[14045.207235] IPv6: ADDRCONF(NETDEV_CHANGE): wlp12s0: link becomes ready
[14045.231695] wlp12s0: Limiting TX power to 27 (30 - 3) dBm as advertised by b0:93:5b:c4:1d:3d
[14045.284300] usb 2-1: USB disconnect, device number 4
[14070.936255] usb 2-1: new high-speed USB device number 5 using ehci-pci
[14071.085199] usb 2-1: New USB device found, idVendor=0781, idProduct=5575
[14071.085208] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14071.085214] usb 2-1: Product: Cruzer Glide
[14071.085219] usb 2-1: Manufacturer: SanDisk
[14071.085224] usb 2-1: SerialNumber: 4C530299910109100395
[14071.085970] usb-storage 2-1:1.0: USB Mass Storage device detected
[14071.090824] scsi host4: usb-storage 2-1:1.0
[14072.097650] scsi 4:0:0:0: Direct-Access SanDisk Cruzer Glide 1.27 PQ: 0 ANSI: 6
[14072.098436] sd 4:0:0:0: Attached scsi generic sg2 type 0
[14072.100341] sd 4:0:0:0: [sdb] 245235712 512-byte logical blocks: (126 GB/117 GiB)
[14072.101745] sd 4:0:0:0: [sdb] Write Protect is off
[14072.101751] sd 4:0:0:0: [sdb] Mode Sense: 43 00 00 00
[14072.102744] sd 4:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[14072.121988] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[14072.423261] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: (null)
master@master-Latitude-D630:~$ sudo fdisk -l
Disk /dev/sda: 93.2 GiB, 100030242816 bytes, 195371568 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa5f72d35

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 193361919 193359872 92.2G 83 Linux
/dev/sda2 193372158 195371007 1998850 976M 5 Extended
/dev/sda5 193372160 195371007 1998848 976M 82 Linux swap / Solaris


Disk /dev/sdb: 117 GiB, 125560684544 bytes, 245235712 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
master@master-Latitude-D630:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 117G 0 disk /media/master/37e11092-192f-4e1a-bde0-2ac5ea8080
sr0 11:0 1 1024M 0 rom
sda 8:0 0 93.2G 0 disk
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 976M 0 part [SWAP]
└─sda1 8:1 0 92.2G 0 part /
 
Old 02-11-2019, 07:11 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,487

Rep: Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741Reputation: 2741
Have you been "playing" with those vm sysctls, or are they the defaults?.
 
Old 02-11-2019, 07:54 PM   #7
Tem2
Member
 
Registered: Dec 2011
Posts: 67

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Immediately after mounting the stick, please show output from:
Code:
dmesg | tail -n30
sudo fdisk -l
lsblk
More details may be needed about how you are trying to copy. If using a file manager, which file manager, and is it doing the stick mounting automatically? IOW, are you mounting the stick before accessing the mount location to copy the file from? If mounting the USB stick manually, what is the command used? What might be happening is come kind of incompatibility between the stick's having an EXT4 filesystem on the whole stick instead of on a partition.

You might solve the copy failure by unmounting the stick, wiping the first sector of the stick, creating a partition on the stick to provide a home for an EXT4 filesystem, then formatting, then trying to copy. You can use gparted to in effect combine the first sector wipe and create a partition to format. If you can do this first then the additional info should not be needed, only just a report how it went for you.

Another option is trying a different file manager. MC is what I use for most copy and paste operations.

Also consider omitting a journal from the new stick format. Journaling accelerates wear on the device, which when used infrequently and for large files arguably gets less utility from a journal.
Problem solved with mc!

Thanks!
 
  


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
System slows down/intermittent freeze happens while copying large files to USB HDD PrinceCruise Linux - Desktop 18 07-24-2015 12:37 PM
scp - Problem in Copying file from system A to system B using system C unclesamcrazy Linux - Newbie 23 08-06-2014 09:59 AM
Shell Session Crashing when cat'ing a large file, tar'ing a large file, etc. newmanium2001 Linux - General 3 12-22-2012 11:32 PM
LXer: This week at LWN: Large pages, large blocks, and large problems LXer Syndicated Linux News 0 09-27-2007 12:40 PM
I/O error when copying large file from Memory Stick airman99 Linux - General 3 08-22-2005 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration