After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779003 - Enable gparted to shrink reiser4 partition
Enable gparted to shrink reiser4 partition
Status: RESOLVED DUPLICATE of bug 771580
Product: gparted
Classification: Other
Component: application
0.28.1
Other Linux
: Normal major
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2017-02-21 08:58 UTC by --Glenn
Modified: 2017-02-21 09:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description --Glenn 2017-02-21 08:58:18 UTC
I want to use the spare space for another partition but I need to shrink the Reiser4 one first [1.8T disk- 43% used

I can run any command if you need more info.

# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb          747G  1.0T  43% /media/disk

Thankyou
--Glenn

plug in disk
#dmesg:
[   92.054311] usb 1-1: new high-speed USB device number 3 using ehci-pci
[   92.478233] usb 4-1: new full-speed USB device number 4 using ohci-pci
[   92.661451] usb 4-1: not running at top speed; connect to a high speed hub
[   92.673488] usb 4-1: New USB device found, idVendor=04fc, idProduct=0c25
[   92.673496] usb 4-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[   92.673500] usb 4-1: Product: USB to Serial-ATA bridge
[   92.673504] usb 4-1: Manufacturer: Sunplus Technology Inc.
[   92.673507] usb 4-1: SerialNumber: ST32000542            5XW1ZMG4
[   92.695580] usb-storage 4-1:1.0: USB Mass Storage device detected
[   92.695892] scsi host4: usb-storage 4-1:1.0
[   92.696080] usbcore: registered new interface driver usb-storage
[   93.726618] scsi 4:0:0:0: Direct-Access     ST320005 42AS                  PQ: 0 ANSI: 2
[   93.727087] sd 4:0:0:0: Attached scsi generic sg2 type 0
[   93.736587] sd 4:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[   93.746543] sd 4:0:0:0: [sdb] Write Protect is off
[   93.746551] sd 4:0:0:0: [sdb] Mode Sense: 38 00 00 00
[   93.756559] sd 4:0:0:0: [sdb] No Caching mode page found
[   93.756566] sd 4:0:0:0: [sdb] Assuming drive cache: write through


# mount /dev/sdb /media/disk
# dmesg | grep -i "key_warning" | wc -l
1472



#dmesg
.
.
[11077.129974] reiser4[nepomukservices(1284)]: key_warning (../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
[11077.129974] WARNING: Error for inode 108008 (-2)
[11077.129987] reiser4[nepomukservices(1284)]: key_warning (../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
[11077.129987] WARNING: Error for inode 108008 (-2)
[11077.130005] reiser4[nepomukservices(1284)]: key_warning (../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
[11077.130005] WARNING: Error for inode 108002 (-2)
[11077.130018] reiser4[nepomukservices(1284)]: key_warning (../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
[11077.130018] WARNING: Error for inode 108002 (-2)
[11077.130036] reiser4[nepomukservices(1284)]: key_warning (../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
[11077.130036] WARNING: Error for inode 107983 (-2)
[11077.130048] reiser4[nepomukservices(1284)]: key_warning (../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
[11077.130048] WARNING: Error for inode 107983 (-2)
[11077.130067] reiser4[nepomukservices(1284)]: key_warning (../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
[11077.130067] WARNING: Error for inode 108010 (-2)
[11077.130080] reiser4[nepomukservices(1284)]: key_warning (../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
[11077.130080] WARNING: Error for inode 108010 (-2)

# dmesg | grep -i "key_warning" | wc -l
1472

#
# fsck.reiser4 --check /dev/sdb
*******************************************************************
This is an EXPERIMENTAL version of fsck.reiser4. Read README first.
*******************************************************************

Fscking the /dev/sdb block device.                                        
                                                                          
               
Will check the consistency of the Reiser4 SuperBlock.                     
                                                                          
               
Will check the consistency of the Reiser4 FileSystem.                     
                                                                          
               
Continue?                                                                 
                                                                          
               
(Yes/No): yes
***** fsck.reiser4 started at Sun Jun  5 16:59:53 2016
FSCK: backup.c: 505: repair_backup_open: Found backup does not match to
the on-disk filesystem metadata.                                           
                  
Backup update is needed.                                                  
                                                                          
               
Reiser4 fs was detected on /dev/sdb.                                      
                                                                          
               
Master super block (16): 
magic:          ReIsEr4 
blksize:        4096 
format:         0x0 (format40) 
uuid:           3006ced1-7490-4ea8-a9b8-d82143c6bede 
label:          <none> 
 
Format super block (17): 
plugin:         format40 
description:    Disk-format plugin. 
version:        1 
magic:          ReIsEr40FoRmAt 
mkfs id:        0x1ddaf754 
flushes:        0 
blocks:         488378640 
free blocks:    217146980 
root block:     37017218 
tail policy:    0x2 (smart) 
next oid:       0xedade 
file count:     188313 
tree height:    6 
key policy:     LARGE 
 
 
CHECKING THE STORAGE TREE                                                 
                                                 
        Read nodes 197007773                                              
                                                 
        Nodes left in the tree 197007773                                  
                                                 
                Leaves of them 194763637, Twigs of them 2217790           
                                                 
        Time interval: Sun Jun  5 17:01:50 2016 - Mon Jun  6 00:27:47 2016
                                                 
CHECKING EXTENT REGIONS.                                                  
                                                 
        Read twigs 2217790                                                
                                               
        Time interval: Mon Jun  6 00:27:47 2016 - Mon Jun  6 02:37:21 2016

CHECKING THE SEMANTIC TREE                                                
                                               
FSCK: semantic.c: 573: repair_semantic_dir_open: Failed to recognize the
plugin for the directory [29:0:2a].               
FSCK: semantic.c: 651: repair_semantic_root_prepare: No root directory
opened. 
        Time interval: Mon Jun  6 02:37:21 2016 - Mon Jun  6 02:37:21 2016
                                               
FSCK: repair.c: 547: repair_sem_fini: On-disk used block bitmap and really
used block bitmap differ.                       
***** fsck.reiser4 finished at Mon Jun  6 02:37:21 2016
Closing fs...done
Comment 1 Mike Fleetwood 2017-02-21 09:23:53 UTC
As recently examined in the following bug report there is no tool to
resize reiser4 file systems.  The developers haven't produced one.
    Bug 771580 - Allow resizing [shrink] of a reiser4 partition.

Marking this bug as a duplicate and closing.

*** This bug has been marked as a duplicate of bug 771580 ***